12 Commits (75fff40b9b536e0e6847d17ecc076894ca7b7068)

Author SHA1 Message Date
Rich Felker b6f9974ad8 simplify robust mutex unlock code path 15 years ago
Rich Felker b8688ff875 fix crash if pthread_mutex_unlock is called without ever locking 15 years ago
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 a1eb8cb5da avoid crash on stupid but allowable usage of pthread_mutex_unlock 15 years ago
Rich Felker 02084109f0 streamline mutex unlock to remove a useless branch, use a_store to unlock 15 years ago
Rich Felker 047e434ef5 implement robust mutexes 15 years ago
Rich Felker 18c7ea8055 avoid function call to pthread_self in mutex unlock 15 years ago
Rich Felker b1c43161c2 unify lock and owner fields of mutex structure 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