]> git.corax.cc Git - toolbox/commit
include/sem: Add sem_peek() function
authorMatthias Kruk <m@m10k.eu>
Thu, 15 Apr 2021 13:35:00 +0000 (22:35 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 15 Apr 2021 13:35:00 +0000 (22:35 +0900)
commit31fb248fc6916f3988d99c10220ba42cf432611b
treedde46d28917a8eaefd9aae116def824e47cad3ee
parentb453adb88c2c8331c8568b44c34716460bceb115
include/sem: Add sem_peek() function

This commit adds the sem_peek() function, which allows the caller to
determine the value of a semaphore without modifying it.
include/sem.sh