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