summaryrefslogtreecommitdiff
path: root/src/thread/sem_trywait.c
AgeCommit message (Collapse)AuthorLines
2011-04-14change sem_trywait algorithm so it never has to call __wakeRich Felker-3/+2
2011-04-06major semaphore improvements (performance and correctness)Rich Felker-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
2011-03-10fix some semaphore wait semantics (race condition deadlock and error checking)Rich Felker-1/+2
2011-03-04implement POSIX semaphoresRich Felker-0/+11