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