Rich Felker
|
de7e99c585
make pointers used in robust list volatile
|
10 vuotta sitten |
Rich Felker
|
d338b506e3
fix robust mutex unrecoverable status, and related clean-up
|
10 vuotta sitten |
Rich Felker
|
fffc5cda10
fix false ownership of mutexes due to tid reuse, using robust list
|
10 vuotta sitten |
Rich Felker
|
bc09d58c04
make futex operations use private-futex mode when possible
|
10 vuotta sitten |
Rich Felker
|
df15168cf8
replace all remaining internal uses of pthread_self with __pthread_self
|
10 vuotta sitten |
Rich Felker
|
da8d0fc4fa
fix extremely rare but dangerous race condition in robust mutexes
|
12 vuotta sitten |
Rich Felker
|
b6f9974ad8
simplify robust mutex unlock code path
|
13 vuotta sitten |
Rich Felker
|
b8688ff875
fix crash if pthread_mutex_unlock is called without ever locking
|
13 vuotta sitten |
Rich Felker
|
7fe58d3511
use count=0 instead of 1 for recursive mutex with only one lock reference
|
13 vuotta sitten |
Rich Felker
|
c68de0be2f
avoid accessing mutex memory after atomic unlock
|
13 vuotta sitten |
Rich Felker
|
a1eb8cb5da
avoid crash on stupid but allowable usage of pthread_mutex_unlock
|
14 vuotta sitten |
Rich Felker
|
02084109f0
streamline mutex unlock to remove a useless branch, use a_store to unlock
|
14 vuotta sitten |
Rich Felker
|
047e434ef5
implement robust mutexes
|
14 vuotta sitten |
Rich Felker
|
18c7ea8055
avoid function call to pthread_self in mutex unlock
|
14 vuotta sitten |
Rich Felker
|
b1c43161c2
unify lock and owner fields of mutex structure
|
14 vuotta sitten |
Rich Felker
|
4820f9268d
fix and optimize non-default-type mutex behavior
|
14 vuotta sitten |
Rich Felker
|
e882756311
reorganize pthread data structures and move the definitions to alltypes.h
|
14 vuotta sitten |
Rich Felker
|
0b44a0315b
initial check-in, version 0.5.0
|
14 vuotta sitten |