summaryrefslogtreecommitdiffstats
path: root/regress/lib/libpthread/semaphore/sem_wait/sem_wait.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Verify that sem_wait() doesn't return zero without decrementing theguenther2012-03-031-3/+52
| | | | | semaphore when a signal is received. It should either resume waiting or return EINTR, preferrably the former.
* While we guarantee that a zero-filled sem_t variable will triggerguenther2012-03-031-2/+3
| | | | | | | 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@
* Basic semaphore testsmpi2012-01-041-0/+49
ok guenther@