Rich Felker
|
23614b0fcb
add C11 thread creation and related thread functions
|
10 years ago |
Jens Gustedt
|
df7d0dfb9c
use weak symbols for the POSIX functions that will be used by C threads
|
10 years ago |
Rich Felker
|
5345c9b884
fix false ownership of stdio FILEs due to tid reuse
|
10 years ago |
Rich Felker
|
a6293285e9
fix use of uninitialized memory with application-provided thread stacks
|
10 years ago |
Rich Felker
|
b092f1c5fa
enable private futex for process-local robust mutexes
|
10 years ago |
Rich Felker
|
a6adb2bcd8
work around constant folding bug 61144 in gcc 4.9.0 and 4.9.1
|
10 years ago |
Rich Felker
|
83dc6eb087
eliminate use of cached pid from thread structure
|
10 years ago |
Rich Felker
|
0bc03091bb
add locale framework
|
10 years ago |
Rich Felker
|
ac31bf278d
simplify errno implementation
|
10 years ago |
Rich Felker
|
df15168cf8
replace all remaining internal uses of pthread_self with __pthread_self
|
10 years ago |
Rich Felker
|
689e0e6bf7
fix pointer type mismatch and misplacement of const
|
11 years ago |
Rich Felker
|
dab441aea2
always initialize thread pointer at program start
|
11 years ago |
Rich Felker
|
271c211944
omit CLONE_PARENT flag to clone in pthread_create
|
11 years ago |
Rich Felker
|
f68a3468d4
use symbolic names for clone flags in pthread_create
|
11 years ago |
Szabolcs Nagy
|
b20760c023
support configurable page size on mips, powerpc and microblaze
|
11 years ago |
Rich Felker
|
2c074b0d6c
transition to using functions for internal signal blocking/restoring
|
12 years ago |
Rich Felker
|
d674f8582a
prevent code from running under a thread id which already gave ESRCH
|
12 years ago |
Rich Felker
|
082fb4e9bf
fix clobbering of signal mask when creating thread with sched attributes
|
12 years ago |
Rich Felker
|
d0ba09837b
make last thread's pthread_exit give exit(0) a consistent state
|
12 years ago |
Rich Felker
|
c3a6839ce9
use atomic decrement rather than cas in pthread_exit thread count
|
12 years ago |
Rich Felker
|
6e531f999a
add comments on some of the pthread_exit logic
|
12 years ago |
Rich Felker
|
23f21c304f
always block signals in pthread_exit before decrementing thread count
|
12 years ago |
Rich Felker
|
ced64995c2
fix type error in pthread_create, introduced with pthread_getattr_np
|
12 years ago |
Rich Felker
|
14a835b386
implement pthread_getattr_np
|
12 years ago |
Rich Felker
|
ccc7b4c3a1
remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG
|
12 years ago |
Rich Felker
|
72768ea99e
fix stale locks left behind when pthread_create fails
|
12 years ago |
Rich Felker
|
077549e0d4
if pthread_create fails, it must not attempt mmap if there is no mapping
|
12 years ago |
Rich Felker
|
d5142642b8
pthread stack treatment overhaul for application-provided stacks, etc.
|
12 years ago |
Rich Felker
|
1e21e78bf7
add support for thread scheduling (POSIX TPS option)
|
12 years ago |
Rich Felker
|
efd4d87aa4
clean up sloppy nested inclusion from pthread_impl.h
|
12 years ago |