summaryrefslogtreecommitdiffstats
path: root/include/zix/sem.h
diff options
context:
space:
mode:
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 ea993fb..206e4e9 100644
--- a/include/zix/sem.h
+++ b/include/zix/sem.h
@@ -31,8 +31,8 @@ struct ZixSemImpl;
A counting semaphore.
This is an integer that is never negative, and has two main operations:
- increment (post) and decrement (wait). If a decrement can not be performed
- (i.e. the value is 0) the caller will be blocked until another thread posts
+ 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.
Semaphores can be created with any starting value, but typically this will