diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 16:57:17 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 16:57:17 -0400 |
commit | 0c001d5c7fd4c6c5d9ceeb55ba5fac1780b441af (patch) | |
tree | 7e42a1e6ac699fd7c59ad3dfcd4c7c5be2818c75 /.clang-format | |
parent | b9d58f74ea1d072e7a2d1c862dc7a1e0fe5fccb0 (diff) | |
download | zix-0c001d5c7fd4c6c5d9ceeb55ba5fac1780b441af.tar.gz zix-0c001d5c7fd4c6c5d9ceeb55ba5fac1780b441af.tar.bz2 zix-0c001d5c7fd4c6c5d9ceeb55ba5fac1780b441af.zip |
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.
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
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 ... |