summaryrefslogtreecommitdiffstats
path: root/include/zix/sem.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-22 18:46:19 -0400
committerDavid Robillard <d@drobilla.net>2024-06-22 18:59:26 -0400
commitaad5574b4d52f0f02ed1ec3d8f1e12227176a98e (patch)
treef7439857e05904e78f8b1012c48c5a313e4788d8 /include/zix/sem.h
parentd29acfa029c0a0dd0e8167b88f15549c67c410e8 (diff)
downloadzix-aad5574b4d52f0f02ed1ec3d8f1e12227176a98e.tar.gz
zix-aad5574b4d52f0f02ed1ec3d8f1e12227176a98e.tar.bz2
zix-aad5574b4d52f0f02ed1ec3d8f1e12227176a98e.zip
Fix whitespace and add code formatting test
Diffstat (limited to 'include/zix/sem.h')
-rw-r--r--include/zix/sem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zix/sem.h b/include/zix/sem.h
index 8aa205e..42dd6c3 100644
--- a/include/zix/sem.h
+++ b/include/zix/sem.h
@@ -30,8 +30,8 @@ ZIX_BEGIN_DECLS
This is an integer that is never negative, and has two main operations:
increment (post) and decrement (wait). If a decrement can't be performed
- (because the value is 0) the caller will be blocked until another thread posts
- and the operation can succeed.
+ (because the value is 0) the caller will be blocked until another thread
+ posts and the operation can succeed.
Semaphores can be created with any starting value, but typically this will
be 0 so the semaphore can be used as a simple signal where each post