15 Commits (7fe58d3511387ab6c57909f6e4baef58acd6bd56)

Author SHA1 Message Date
Rich Felker 7fe58d3511 use count=0 instead of 1 for recursive mutex with only one lock reference 15 years ago
Rich Felker c68de0be2f avoid accessing mutex memory after atomic unlock 15 years ago
Rich Felker eb0e8fa0b1 debloat: use __syscall instead of syscall where possible 15 years ago
Rich Felker ec2e50d0d7 cheap trick to further optimize locking normal mutexes 15 years ago
Rich Felker 8524d6536c revert mutex "optimization" that turned out to be worse 15 years ago
Rich Felker aa398f56fa global cleanup to use the new syscall interface 15 years ago
Rich Felker 047e434ef5 implement robust mutexes 15 years ago
Rich Felker b1c43161c2 unify lock and owner fields of mutex structure 15 years ago
Rich Felker e914f8b7ec optimize contended normal mutex case; add int compare-and-swap atomic 15 years ago
Rich Felker 1d59f1eddb simplify logic, slightly optimize contended case for non-default mutex types 15 years ago
Rich Felker d4f9e0b364 correct error returns for error-checking mutexes 15 years ago
Rich Felker 31e06075d5 simplify and optimize pthread_mutex_trylock 15 years ago
Rich Felker 4820f9268d fix and optimize non-default-type mutex behavior 15 years ago
Rich Felker e882756311 reorganize pthread data structures and move the definitions to alltypes.h 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago