History log of /openbsd-src/regress/lib/libpthread/semaphore/sem_wait/sem_wait.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 297694a9 03-Mar-2012 guenther <guenther@openbsd.org>

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.


# ce8a7339 03-Mar-2012 guenther <guenther@openbsd.org>

While we guarantee that a zero-filled sem_t variable will trigger
EINVAL errors, a sem_t on the stack may have garbage, so make the
tests portable by moving the sem_t from function to file scope.

pr

While we guarantee that a zero-filled sem_t variable will trigger
EINVAL errors, a sem_t on the stack may have garbage, so make the
tests portable by moving the sem_t from function to file scope.

problem found by miod@

show more ...


# 3fbe19a4 04-Jan-2012 mpi <mpi@openbsd.org>

Basic semaphore tests

ok guenther@