Jens Gustedt
|
d906fa3118
unify the use of FUTEX_PRIVATE
|
7 jaren geleden |
Rich Felker
|
a46677af18
fix regression in pthread_cond_wait with cancellation disabled
|
10 jaren geleden |
Rich Felker
|
56fbaa3bbe
make all objects used with atomic operations volatile
|
10 jaren geleden |
Rich Felker
|
0fc317d83c
factor cancellation cleanup push/pop out of futex __timedwait function
|
10 jaren geleden |
Rich Felker
|
e487c203db
fix breakage in pthread_cond_wait due to typo
|
10 jaren geleden |
Rich Felker
|
d9da1fb8c5
simplify cond var code now that cleanup handler is not needed
|
10 jaren geleden |
Rich Felker
|
8741ffe625
fix pthread_cond_wait cancellation race
|
10 jaren geleden |
Jens Gustedt
|
df7d0dfb9c
use weak symbols for the POSIX functions that will be used by C threads
|
10 jaren geleden |
Rich Felker
|
b8ca9eb530
fix fallback checks for kernels without private futex support
|
10 jaren geleden |
Rich Felker
|
4992ace942
further simplify and optimize new cond var
|
10 jaren geleden |
Rich Felker
|
2c4b510bae
simplify and improve new cond var implementation
|
10 jaren geleden |
Rich Felker
|
37195db8ec
redesign cond var implementation to fix multiple issues
|
10 jaren geleden |
Rich Felker
|
bc09d58c04
make futex operations use private-futex mode when possible
|
10 jaren geleden |
Rich Felker
|
df15168cf8
replace all remaining internal uses of pthread_self with __pthread_self
|
11 jaren geleden |
Rich Felker
|
400c5e5c83
use restrict everywhere it's required by c99 and/or posix 2008
|
12 jaren geleden |
Rich Felker
|
5a2e180937
synchronize cond var destruction with exiting waits
|
13 jaren geleden |
Rich Felker
|
3ac092bd7d
fix crash in pthread_cond_wait mutex-locked check
|
13 jaren geleden |
Rich Felker
|
bc244533cc
improve/debloat mutex unlock error checking in pthread_cond_wait
|
13 jaren geleden |
Rich Felker
|
bfae1a8b71
check mutex owner in pthread_cond_wait
|
13 jaren geleden |
Rich Felker
|
3bec53e0d3
another cond var fix: requeue count race condition
|
13 jaren geleden |
Rich Felker
|
1fa0521010
fix lost signals in cond vars
|
13 jaren geleden |
Rich Felker
|
729d6368bd
redo cond vars again, use sequence numbers
|
13 jaren geleden |
Rich Felker
|
cba4e1c0a3
new futex-requeue-based pthread_cond_broadcast implementation
|
13 jaren geleden |
Rich Felker
|
97c5b5a87c
fix ABA race in cond vars, improve them overall
|
13 jaren geleden |
Rich Felker
|
4b153ac424
fix deadlock in condition wait whenever there are multiple waiters
|
13 jaren geleden |
Rich Felker
|
ec381af902
unify and overhaul timed futex waits
|
13 jaren geleden |
Rich Felker
|
feee98903c
overhaul pthread cancellation
|
14 jaren geleden |
Rich Felker
|
a113434cd6
major semaphore improvements (performance and correctness)
|
14 jaren geleden |
Rich Felker
|
b470030f83
overhaul cancellation to fix resource leaks and dangerous behavior with signals
|
14 jaren geleden |
Rich Felker
|
5fd4a98165
use the selected clock from the condattr for pthread_cond_timedwait
|
14 jaren geleden |