summaryrefslogtreecommitdiffstats
path: root/include/zix/sem.h
AgeCommit message (Collapse)AuthorFilesLines
45 hoursUpdate clang-format configurationDavid Robillard1-12/+6
2024-06-22Fix whitespace and add code formatting testDavid Robillard1-2/+2
2023-10-22Remove unnecessary forward declarationDavid Robillard1-2/+0
Looks like include-what-you-use has gotten smarter.
2023-02-04Fix clang build on WindowsDavid Robillard1-1/+1
2022-11-17Improve documentationDavid Robillard1-2/+2
2022-10-23Split reference documentation up into groups and add global headerDavid Robillard1-1/+1
The "global" header just provides a convenient place to define the group structure of the library. Applications are better off using the individual headers, but this one will work fine if you don't care about build times or precise dependencies.
2022-10-21Factor out public declaration scope markersDavid Robillard1-6/+2
2022-10-21Split up common headerDavid Robillard1-1/+1
2022-10-21Hide errno utility functionsDavid Robillard1-2/+0
2022-10-20Fix doc commentsDavid Robillard1-4/+2
2022-09-01Simplify thread and semaphore status codesDavid Robillard1-2/+3
2022-08-19Move sem implementation out of headerDavid Robillard1-185/+17
This avoids having platform conditionals in public headers, which causes build problems for dependants.
2022-08-18Fix conversion warning on 32-bit ARMDavid Robillard1-2/+2
2022-08-18Add zix_sem_timed_wait()David Robillard1-1/+66
2022-08-18Fix semaphore error handlingDavid Robillard1-35/+69
Note that existing code which uses zix_sem_try_wait() may still compile against this change, but be incorrect!
2022-08-18Improve test coverageDavid Robillard1-6/+3
2021-09-10Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-09-10Add nullability annotationsDavid Robillard1-20/+21
This allows clang to issue warnings at compile time when null is passed to a non-null parameter. For public entry points, also add assertions to catch such issues when the compiler does not support this.
2021-09-10Fix conversion warningsDavid Robillard1-2/+3
2021-07-17Use line comments where appropriateDavid Robillard1-7/+5
2020-12-31Update copyright headersDavid Robillard1-1/+1
2020-12-31Separate source from headersDavid Robillard1-0/+242