summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include/semaphore.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-03-03 09:51:00 +0000
committerguenther <guenther@openbsd.org>2012-03-03 09:51:00 +0000
commit297694a9a755dc4fe7c18dcfc0ae7c6466927a06 (patch)
tree8ab232f672533ca4f1742462ff99353591a34ceb /lib/libpthread/include/semaphore.h
parentTerminate strftime buffer properly and free format string, whoops. From (diff)
downloadwireguard-openbsd-297694a9a755dc4fe7c18dcfc0ae7c6466927a06.tar.xz
wireguard-openbsd-297694a9a755dc4fe7c18dcfc0ae7c6466927a06.zip
Verify that sem_wait() doesn't return zero without decrementing the
semaphore when a signal is received. It should either resume waiting or return EINTR, preferrably the former.
Diffstat (limited to 'lib/libpthread/include/semaphore.h')
0 files changed, 0 insertions, 0 deletions