about summary refs log tree commit diff
path: root/src/thread/sem_trywait.c
Commit message (Collapse)AuthorAgeFilesLines
* change sem_trywait algorithm so it never has to call __wakeRich Felker2011-04-141-3/+2
|
* major semaphore improvements (performance and correctness)Rich Felker2011-04-061-3/+2
| | | | | 1. make sem_[timed]wait interruptible by signals, per POSIX 2. keep a waiter count in order to avoid unnecessary futex wake syscalls
* 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