tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
regress
/
lib
/
libpthread
/
semaphore
/
at
jcs
5 folders
2 files
sem_destroy
Basic semaphore tests
14 years ago
sem_getvalue
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.
14 years ago
sem_timedwait
Output the relevant time specs before the assertion, in the hopes of figuring out why this occasionally fails.
3 years ago
sem_trywait
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.
14 years ago
sem_wait
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.
14 years ago
Makefile
Add tests for sem_timedwait()
14 years ago
Makefile.inc
Basic semaphore tests
14 years ago