Rich Felker
|
8ee0ca0ce6
fix harmless-by-chance typo in priority inheritance mutex code
|
6 年之前 |
Rich Felker
|
54ca677983
implement priority inheritance mutexes
|
6 年之前 |
Rich Felker
|
2142cafdc7
clean up access to mutex type in pthread_mutex_trylock
|
6 年之前 |
Rich Felker
|
099b89d384
redesign robust mutex states to eliminate data races on type field
|
6 年之前 |
Rich Felker
|
4e4a162d9a
in pthread_mutex_trylock, EBUSY out more directly when possible
|
6 年之前 |
Rich Felker
|
384d103d94
fix failure to obtain EOWNERDEAD status for process-shared robust mutexes
|
9 年之前 |
Rich Felker
|
4e98cce1c5
optimize out setting up robust list with kernel when not needed
|
10 年之前 |
Jens Gustedt
|
df7d0dfb9c
use weak symbols for the POSIX functions that will be used by C threads
|
10 年之前 |
Rich Felker
|
4220d298ef
fix possible failure-to-wake deadlock with robust mutexes
|
11 年之前 |
Rich Felker
|
de7e99c585
make pointers used in robust list volatile
|
11 年之前 |
Rich Felker
|
d338b506e3
fix robust mutex unrecoverable status, and related clean-up
|
11 年之前 |
Rich Felker
|
fffc5cda10
fix false ownership of mutexes due to tid reuse, using robust list
|
11 年之前 |
Rich Felker
|
bc09d58c04
make futex operations use private-futex mode when possible
|
11 年之前 |
Rich Felker
|
df15168cf8
replace all remaining internal uses of pthread_self with __pthread_self
|
11 年之前 |
Rich Felker
|
5e977e8b48
recovering ownerdead robust mutex must reset recursive lock count
|
13 年之前 |
Rich Felker
|
7fe58d3511
use count=0 instead of 1 for recursive mutex with only one lock reference
|
13 年之前 |
Rich Felker
|
c68de0be2f
avoid accessing mutex memory after atomic unlock
|
14 年之前 |
Rich Felker
|
eb0e8fa0b1
debloat: use __syscall instead of syscall where possible
|
14 年之前 |
Rich Felker
|
ec2e50d0d7
cheap trick to further optimize locking normal mutexes
|
14 年之前 |
Rich Felker
|
8524d6536c
revert mutex "optimization" that turned out to be worse
|
14 年之前 |
Rich Felker
|
aa398f56fa
global cleanup to use the new syscall interface
|
14 年之前 |
Rich Felker
|
047e434ef5
implement robust mutexes
|
14 年之前 |
Rich Felker
|
b1c43161c2
unify lock and owner fields of mutex structure
|
14 年之前 |
Rich Felker
|
e914f8b7ec
optimize contended normal mutex case; add int compare-and-swap atomic
|
14 年之前 |
Rich Felker
|
1d59f1eddb
simplify logic, slightly optimize contended case for non-default mutex types
|
14 年之前 |
Rich Felker
|
d4f9e0b364
correct error returns for error-checking mutexes
|
14 年之前 |
Rich Felker
|
31e06075d5
simplify and optimize pthread_mutex_trylock
|
14 年之前 |
Rich Felker
|
4820f9268d
fix and optimize non-default-type mutex behavior
|
14 年之前 |
Rich Felker
|
e882756311
reorganize pthread data structures and move the definitions to alltypes.h
|
14 年之前 |
Rich Felker
|
0b44a0315b
initial check-in, version 0.5.0
|
14 年之前 |