From 0c001d5c7fd4c6c5d9ceeb55ba5fac1780b441af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 18 Aug 2022 16:57:17 -0400 Subject: Fix or remove non-portable features in thread API Thread function return values are inconsistent between nearly every threading API out there. So, just ignore them entirely, and provide a typedef and sentinel value so user code can be portable. --- .clang-format | 1 + 1 file changed, 1 insertion(+) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index eabae64..f03272e 100644 --- a/.clang-format +++ b/.clang-format @@ -24,6 +24,7 @@ StatementMacros: - ZIX_CONST_API - ZIX_MALLOC_API - ZIX_PURE_API + - ZIX_THREAD_FUNC - ZIX_UNUSED - _Pragma ... -- cgit v1.2.1