aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutex_consistent.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* replace all remaining internal uses of pthread_self with __pthread_self•••prior to version 1.1.0, the difference between pthread_self (the public function) and __pthread_self (the internal macro or inline function) was that the former would lazily initialize the thread pointer if it was not already initialized, whereas the latter would crash in this case. since lazy initialization is no longer supported, use of pthread_self no longer makes sense; it simply generates larger, slower code. Rich Felker2014-06-101-1/+1
* implement robust mutexes•••some of this code should be cleaned up, e.g. using macros for some of the bit flags, masks, etc. nonetheless, the code is believed to be working and correct at this point. Rich Felker2011-03-171-0/+10