383 Commits (d56460c939c94a6c547abe8238f442b8de10bfbd)

Author SHA1 Message Date
Bobby Bingham 3a3c813e08 superh port 13 years ago
Rich Felker d8b587796f mostly-cosmetic fixups to x32 port merge 12 years ago
rofl0r 664cd34192 x32 port (diff against vanilla x86_64) 13 years ago
rofl0r 323272db17 import vanilla x86_64 code as x32 13 years ago
rofl0r 3b168ce1fb use syscall_arg_t type for syscall prototypes in pthread code 13 years ago
Bobby Bingham fdf5f1b131 clone: make clone a wrapper around __clone 12 years ago
Rich Felker eca335fc04 eliminate explicit (long) casts when making syscalls 13 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Rich Felker 38a0a4db2f fix invalid implicit pointer conversion in pthread_key_create 13 years ago
Rich Felker e803829e6b fix potential deadlock bug in libc-internal locking logic 13 years ago
Rich Felker cffb9e1ee2 fix clobbering of caller's stack in mips __clone function 13 years ago
Rich Felker 271c211944 omit CLONE_PARENT flag to clone in pthread_create 13 years ago
Rich Felker f68a3468d4 use symbolic names for clone flags in pthread_create 13 years ago
Szabolcs Nagy b20760c023 support configurable page size on mips, powerpc and microblaze 13 years ago
Rich Felker bfba15c9b9 fix child stack alignment on mips clone 13 years ago
Rich Felker b4b9743c00 fix mips-specific bug in synccall (too little space for signal mask) 13 years ago
Rich Felker 3c0501d28c in synccall, ignore the signal before any threads' signal handlers return 13 years ago
Rich Felker a731e4103b fix invalid pointer in synccall (multithread setuid, etc.) 13 years ago
Rich Felker 5db951ef80 in pthread_getattr_np, use mremap rather than madvise to measure stack 13 years ago
Rich Felker 0109d950e6 make pthread attribute types structs, even when they just have one field 13 years ago
Rich Felker b17c75a4d5 fix syscall argument bug in pthread_getschedparam 13 years ago
Rich Felker 7c20a11801 fix temp file leak in sem_open on successful creation of new semaphore 13 years ago
Rich Felker a033cd22aa fix bug whereby sem_open leaked its own internal slots on failure 13 years ago
Rich Felker 52d4444f8e in sem_open, don't leak vm mapping if fstat fails 13 years ago
Rich Felker 21088aee2e fix failure of pthread_setschedparam to pass correct param to kernel 13 years ago
Rich Felker ea200e38bd support cputime clocks for processes/threads other than self 13 years ago
Rich Felker 44b4d09fc0 ensure that thread dtv pointer is never null to optimize __tls_get_addr 13 years ago
Rich Felker 2c074b0d6c transition to using functions for internal signal blocking/restoring 13 years ago
Rich Felker d674f8582a prevent code from running under a thread id which already gave ESRCH 13 years ago
Rich Felker 47d2bf5103 synccall signal handler need not handle dead threads anymore 13 years ago
Rich Felker 082fb4e9bf fix clobbering of signal mask when creating thread with sched attributes 13 years ago
Rich Felker d0ba09837b make last thread's pthread_exit give exit(0) a consistent state 13 years ago
Rich Felker c3a6839ce9 use atomic decrement rather than cas in pthread_exit thread count 13 years ago
Rich Felker 6e531f999a add comments on some of the pthread_exit logic 13 years ago
Rich Felker 23f21c304f always block signals in pthread_exit before decrementing thread count 13 years ago
Rich Felker ced64995c2 fix type error in pthread_create, introduced with pthread_getattr_np 13 years ago
Rich Felker 14a835b386 implement pthread_getattr_np 13 years ago
Rich Felker ccc7b4c3a1 remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 13 years ago
Rich Felker 72768ea99e fix stale locks left behind when pthread_create fails 13 years ago
Rich Felker 077549e0d4 if pthread_create fails, it must not attempt mmap if there is no mapping 13 years ago
Rich Felker d5142642b8 pthread stack treatment overhaul for application-provided stacks, etc. 13 years ago
Rich Felker facc6acbfd replace __wake function with macro that performs direct syscall 13 years ago
Rich Felker 1c322f2f0a fix some restrict-qualifier mismatches in newly added interfaces 14 years ago
rofl0r 3fae236e00 powerpc: handle syscall error in clone. 14 years ago
Rich Felker 9565a349f2 fix powerpc asm not to store data in volatile space below stack pointer 14 years ago
Rich Felker 5c6443ac42 add stub versions of some missing optional pthread interfaces 14 years ago
Rich Felker d1bf452d75 fix indention with spaces in powerpc asm 14 years ago
rofl0r 1c8eb8bad7 PPC port cleaned up, static linking works well now. 14 years ago
Richard Pennington 7669d1e334 import preliminary ppc work by rdp. 14 years ago
Rich Felker c4a35f8c2a debloat src/thread tree but putting lots of junk in one file 14 years ago