Rich Felker
|
d674f8582a
prevent code from running under a thread id which already gave ESRCH
|
há 12 anos atrás |
Rich Felker
|
082fb4e9bf
fix clobbering of signal mask when creating thread with sched attributes
|
há 12 anos atrás |
Rich Felker
|
d0ba09837b
make last thread's pthread_exit give exit(0) a consistent state
|
há 12 anos atrás |
Rich Felker
|
c3a6839ce9
use atomic decrement rather than cas in pthread_exit thread count
|
há 12 anos atrás |
Rich Felker
|
6e531f999a
add comments on some of the pthread_exit logic
|
há 12 anos atrás |
Rich Felker
|
23f21c304f
always block signals in pthread_exit before decrementing thread count
|
há 12 anos atrás |
Rich Felker
|
ced64995c2
fix type error in pthread_create, introduced with pthread_getattr_np
|
há 12 anos atrás |
Rich Felker
|
14a835b386
implement pthread_getattr_np
|
há 12 anos atrás |
Rich Felker
|
ccc7b4c3a1
remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG
|
há 12 anos atrás |
Rich Felker
|
72768ea99e
fix stale locks left behind when pthread_create fails
|
há 12 anos atrás |
Rich Felker
|
077549e0d4
if pthread_create fails, it must not attempt mmap if there is no mapping
|
há 12 anos atrás |
Rich Felker
|
d5142642b8
pthread stack treatment overhaul for application-provided stacks, etc.
|
há 12 anos atrás |
Rich Felker
|
1e21e78bf7
add support for thread scheduling (POSIX TPS option)
|
há 12 anos atrás |
Rich Felker
|
efd4d87aa4
clean up sloppy nested inclusion from pthread_impl.h
|
há 12 anos atrás |
Rich Felker
|
9ec4283b28
add support for TLS variant I, presently needed for arm and mips
|
há 12 anos atrás |
Rich Felker
|
42c36f957d
fix overlap of thread stacks with thread tls segments
|
há 12 anos atrás |
Rich Felker
|
0a96a37f06
clean up and refactor program initialization
|
há 12 anos atrás |
Rich Felker
|
dcd6037150
support for TLS in dynamic-loaded (dlopen) modules
|
há 12 anos atrás |
Rich Felker
|
8431d7972f
TLS (GNU/C11 thread-local storage) support for static-linked programs
|
há 12 anos atrás |
Rich Felker
|
0c05bd3a9c
further use of _Noreturn, for non-plain-C functions
|
há 12 anos atrás |
Rich Felker
|
400c5e5c83
use restrict everywhere it's required by c99 and/or posix 2008
|
há 12 anos atrás |
Rich Felker
|
2f437040e7
fix (hopefully) all hard-coded 8's for kernel sigset_t size
|
há 12 anos atrás |
Rich Felker
|
bbbe87e35c
fix several locks that weren't updated right for new futex-based __lock
|
há 12 anos atrás |
Rich Felker
|
92f8396b0c
fix potential race condition in detached threads
|
há 12 anos atrás |
Rich Felker
|
819006a88b
add pthread_attr_setstack interface (and get)
|
há 12 anos atrás |
Rich Felker
|
1e597a3e9b
remove no-longer-needed unblocking of signals in pthread_create
|
há 12 anos atrás |
Rich Felker
|
cfd892fde9
simplify cancellation push/pop slightly
|
há 13 anos atrás |
Rich Felker
|
7e4d79464a
make pthread stacks non-executable
|
há 13 anos atrás |
Rich Felker
|
58aa5f45ed
overhaul SSP support to use a real canary
|
há 13 anos atrás |
Rich Felker
|
e3234d0109
fix pthread_cleanup_pop(1) crash in non-thread-capable, static-linked programs
|
há 13 anos atrás |