summaryrefslogtreecommitdiff
path: root/src/thread/sem_timedwait.c
AgeCommit message (Expand)Author
2022-12-13semaphores: fix missed wakes from ABA bug in waiter count logicRich Felker
2018-12-19make sem_wait and sem_timedwait interruptible by signalsRich Felker
2015-03-03make all objects used with atomic operations volatileRich Felker
2015-03-02factor cancellation cleanup push/pop out of futex __timedwait functionRich Felker
2015-01-15suppress EINTR in sem_wait and sem_timedwaitRich Felker
2014-09-05make non-waiting paths of sem_[timed]wait and pthread_join cancelableRich Felker
2014-08-25refrain from spinning on locks when there is already a waiterRich Felker
2014-08-25spin in sem_[timed]wait before performing futex waitRich Felker
2014-08-15make futex operations use private-futex mode when possibleRich Felker
2012-09-06use restrict everywhere it's required by c99 and/or posix 2008Rich Felker
2011-08-02fix sem_timedwait bug introduced in timedwait unificationRich Felker
2011-08-02unify and overhaul timed futex waitsRich Felker
2011-08-02overhaul posix semaphores to fix destructability raceRich Felker
2011-04-17overhaul pthread cancellationRich Felker
2011-04-06major semaphore improvements (performance and correctness)Rich Felker
2011-03-24overhaul cancellation to fix resource leaks and dangerous behavior with signalsRich Felker
2011-03-10fix some semaphore wait semantics (race condition deadlock and error checking)Rich Felker
2011-03-07fix off-by-one error in sem_(timed)wait (using old sem value instead of new)Rich Felker
2011-03-04implement POSIX semaphoresRich Felker