aboutsummaryrefslogtreecommitdiff
path: root/src/thread/sem_trywait.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* change sem_trywait algorithm so it never has to call __wakeRich Felker2011-04-141-3/+2
* major semaphore improvements (performance and correctness)•••1. make sem_[timed]wait interruptible by signals, per POSIX 2. keep a waiter count in order to avoid unnecessary futex wake syscalls Rich Felker2011-04-061-3/+2
* fix some semaphore wait semantics (race condition deadlock and error checking)Rich Felker2011-03-101-1/+2
* implement POSIX semaphoresRich Felker2011-03-041-0/+11