summaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutex_trylock.c
AgeCommit message (Expand)AuthorLines
2019-04-01fix harmless-by-chance typo in priority inheritance mutex codeRich Felker-1/+1
2019-03-31implement priority inheritance mutexesRich Felker-4/+20
2019-03-29clean up access to mutex type in pthread_mutex_trylockRich Felker-2/+2
2019-02-12redesign robust mutex states to eliminate data races on type fieldRich Felker-5/+5
2018-09-04in pthread_mutex_trylock, EBUSY out more directly when possibleRich Felker-2/+2
2016-06-27fix failure to obtain EOWNERDEAD status for process-shared robust mutexesRich Felker-1/+1
2015-04-10optimize out setting up robust list with kernel when not neededRich Felker-6/+4
2014-09-06use weak symbols for the POSIX functions that will be used by C threadsJens Gustedt-1/+3
2014-08-17fix possible failure-to-wake deadlock with robust mutexesRich Felker-1/+4
2014-08-17make pointers used in robust list volatileRich Felker-3/+5
2014-08-16fix robust mutex unrecoverable status, and related clean-upRich Felker-8/+2
2014-08-16fix false ownership of mutexes due to tid reuse, using robust listRich Felker-12/+16
2014-08-15make futex operations use private-futex mode when possibleRich Felker-13/+16
2014-06-10replace all remaining internal uses of pthread_self with __pthread_selfRich Felker-1/+1
2011-10-03recovering ownerdead robust mutex must reset recursive lock countRich Felker-0/+1
2011-10-03use count=0 instead of 1 for recursive mutex with only one lock referenceRich Felker-2/+0
2011-08-02avoid accessing mutex memory after atomic unlockRich Felker-7/+7
2011-04-17debloat: use __syscall instead of syscall where possibleRich Felker-1/+1
2011-04-14cheap trick to further optimize locking normal mutexesRich Felker-1/+1
2011-03-29revert mutex "optimization" that turned out to be worseRich Felker-1/+1
2011-03-20global cleanup to use the new syscall interfaceRich Felker-2/+2
2011-03-17implement robust mutexesRich Felker-3/+35
2011-03-17unify lock and owner fields of mutex structureRich Felker-3/+2
2011-03-17optimize contended normal mutex case; add int compare-and-swap atomicRich Felker-1/+1
2011-03-16simplify logic, slightly optimize contended case for non-default mutex typesRich Felker-4/+2
2011-03-16correct error returns for error-checking mutexesRich Felker-1/+1
2011-03-08simplify and optimize pthread_mutex_trylockRich Felker-17/+16
2011-03-08fix and optimize non-default-type mutex behaviorRich Felker-15/+12
2011-02-17reorganize pthread data structures and move the definitions to alltypes.hRich Felker-13/+13
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+28