Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
526e64f54d729947b35fd39129bc86cbc0b5f098
/
src
/
internal
/
pthread_impl.h
526e64f
improve pthread_exit synchronization with functions targeting tid
by Rich Felker
· 6 years ago
9e2d820
use a dedicated futex object for pthread_join instead of tid field
by Rich Felker
· 6 years ago
cc7c300
document pthread structure ABI constraints in comments
by Rich Felker
· 6 years ago
7c709f2
store pthread stack guard sizes for pthread_getattr_np
by William Pitcock
· 6 years ago
32482f6
revise the definition of multiple basic locks in the code
by Jens Gustedt
· 7 years ago
47d0bcd
new lock algorithm with state and congestion count in one atomic int
by Jens Gustedt
· 7 years ago
d906fa3
unify the use of FUTEX_PRIVATE
by Jens Gustedt
· 7 years ago
1f53e7d
fix crashes in x32 __tls_get_addr
by rofl0r
· 8 years ago
6f18667
remove largish unused field from pthread structure
by Rich Felker
· 8 years ago
4078a5c
fix build regression on archs with variable page size
by Rich Felker
· 8 years ago
6ba5517
fix local-dynamic model TLS on mips and powerpc
by Rich Felker
· 9 years ago
484194d
fix stack protector crashes on x32 & powerpc due to misplaced TLS canary
by Rich Felker
· 9 years ago
01d4274
make dlerror state and message thread-local and dynamically-allocated
by Rich Felker
· 9 years ago
fa80787
add missing 'void' in prototypes of internal pthread functions
by Alexander Monakov
· 9 years ago
f08ab9e
redesign and simplify vmlock system
by Rich Felker
· 9 years ago
204a69d
copy the dtv pointer to the end of the pthread struct for TLS_ABOVE_TP archs
by Szabolcs Nagy
· 9 years ago
56fbaa3
make all objects used with atomic operations volatile
by Rich Felker
· 9 years ago
0fc317d
factor cancellation cleanup push/pop out of futex __timedwait function
by Rich Felker
· 9 years ago
23614b0
add C11 thread creation and related thread functions
by Rich Felker
· 10 years ago
5345c9b
fix false ownership of stdio FILEs due to tid reuse
by Rich Felker
· 10 years ago
b8ca9eb
fix fallback checks for kernels without private futex support
by Rich Felker
· 10 years ago
37195db
redesign cond var implementation to fix multiple issues
by Rich Felker
· 10 years ago
de7e99c
make pointers used in robust list volatile
by Rich Felker
· 10 years ago
bc09d58
make futex operations use private-futex mode when possible
by Rich Felker
· 10 years ago
ac31bf2
simplify errno implementation
by Rich Felker
· 10 years ago
7356c25
fix multiple bugs in SIGEV_THREAD timers
by Rich Felker
· 11 years ago
2c074b0
transition to using functions for internal signal blocking/restoring
by Rich Felker
· 11 years ago
14a835b
implement pthread_getattr_np
by Rich Felker
· 11 years ago
ccc7b4c
remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG
by Rich Felker
· 11 years ago
facc6ac
replace __wake function with macro that performs direct syscall
by Rich Felker
· 11 years ago
1e21e78
add support for thread scheduling (POSIX TPS option)
by Rich Felker
· 12 years ago
efd4d87
clean up sloppy nested inclusion from pthread_impl.h
by Rich Felker
· 12 years ago
dcd6037
support for TLS in dynamic-loaded (dlopen) modules
by Rich Felker
· 12 years ago
9b153c0
beginnings of full TLS support in shared libraries
by Rich Felker
· 12 years ago
2f43704
fix (hopefully) all hard-coded 8's for kernel sigset_t size
by Rich Felker
· 12 years ago
bbbe87e
fix several locks that weren't updated right for new futex-based __lock
by Rich Felker
· 12 years ago
819006a
add pthread_attr_setstack interface (and get)
by Rich Felker
· 12 years ago
13b3645
increase default thread stack size to 80k
by Rich Felker
· 12 years ago
7efd14e
remove cruft from pthread structure (old cancellation stuff)
by Rich Felker
· 12 years ago
9ae1cf6
fix out-of-bounds array access in pthread barriers on 64-bit
by Rich Felker
· 12 years ago
58aa5f4
overhaul SSP support to use a real canary
by Rich Felker
· 12 years ago
5a2e180
synchronize cond var destruction with exiting waits
by Rich Felker
· 13 years ago
9cee930
improve pshared barriers
by Rich Felker
· 13 years ago
6016457
process-shared barrier support, based on discussion with bdonlan
by Rich Felker
· 13 years ago
1fa0521
fix lost signals in cond vars
by Rich Felker
· 13 years ago
729d636
redo cond vars again, use sequence numbers
by Rich Felker
· 13 years ago
cba4e1c
new futex-requeue-based pthread_cond_broadcast implementation
by Rich Felker
· 13 years ago
4b153ac
fix deadlock in condition wait whenever there are multiple waiters
by Rich Felker
· 13 years ago
3f72cda
overhaul clone syscall wrapping
by Rich Felker
· 13 years ago
407d933
pthread and synccall cleanup, new __synccall_wait op
by Rich Felker
· 13 years ago
50304f2
overhaul rwlocks to address several issues
by Rich Felker
· 13 years ago
ec381af
unify and overhaul timed futex waits
by Rich Felker
· 13 years ago
dba68bf
add proper fuxed-based locking for stdio
by Rich Felker
· 13 years ago
acb0480
new attempt at making set*id() safe and robust
by Rich Felker
· 13 years ago
7779dbd
fix race condition in pthread_kill
by Rich Felker
· 13 years ago
f09e78d
fix sigset macro for 64-bit systems (<< was overflowing due to wrong type)
by Rich Felker
· 13 years ago
11c531e
implement uselocale function (minimal)
by Rich Felker
· 13 years ago
4c4e22d
optimize compound-literal sigset_t's not to contain useless hurd bits
by Rich Felker
· 13 years ago
99b8a25
overhaul implementation-internal signal protections
by Rich Felker
· 13 years ago
f16a308
completely new barrier implementation, addressing major correctness issues
by Rich Felker
· 13 years ago
feee989
overhaul pthread cancellation
by Rich Felker
· 13 years ago
016a5dc
use a separate signal from SIGCANCEL for SIGEV_THREAD timers
by Rich Felker
· 13 years ago
82171d6
greatly improve SIGEV_THREAD timers
by Rich Felker
· 13 years ago
b2486a8
move rsyscall out of pthread_create module
by Rich Felker
· 13 years ago
b8be64c
optimize timer creation and possibly protect against some minor races
by Rich Felker
· 13 years ago
bf619d8
major improvements to cancellation handling
by Rich Felker
· 13 years ago
70c31c7
some preliminaries for adding POSIX timers
by Rich Felker
· 13 years ago
83b6c9e
remove useless field in pthread struct (wasted a good bit of space)
by Rich Felker
· 13 years ago
047e434
implement robust mutexes
by Rich Felker
· 13 years ago
93cc986
reorder mutex struct fields to make room for pointers (upcoming robust mutexes)
by Rich Felker
· 13 years ago
b1c4316
unify lock and owner fields of mutex structure
by Rich Felker
· 13 years ago
5fcebcd
optimize pthread termination in the non-detached case
by Rich Felker
· 13 years ago
4820f92
fix and optimize non-default-type mutex behavior
by Rich Felker
· 13 years ago
5fd4a98
use the selected clock from the condattr for pthread_cond_timedwait
by Rich Felker
· 13 years ago
e882756
reorganize pthread data structures and move the definitions to alltypes.h
by Rich Felker
· 13 years ago
7b2dd22
finish unifying thread register handling in preparation for porting
by Rich Felker
· 13 years ago
0b2006c
begin unifying clone/thread management interface in preparation for porting
by Rich Felker
· 13 years ago
0b44a03
initial check-in, version 0.5.0
by Rich Felker
· 13 years ago