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