265 Commits (9a97d103fba259f3f789c143d97d7f22d392429b)

Author SHA1 Message Date
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
Rich Felker 1e21e78bf7 add support for thread scheduling (POSIX TPS option) 14 years ago
Rich Felker efd4d87aa4 clean up sloppy nested inclusion from pthread_impl.h 14 years ago
Rich Felker 6a04d1b8c6 fix order of syscall args for microblaze clone syscall 14 years ago
Rich Felker 1f485230df ensure microblaze __set_thread_area returns success 14 years ago
Rich Felker ef2f595f74 fix microblaze asm relocations for shared libc 14 years ago
Rich Felker 9ec4283b28 add support for TLS variant I, presently needed for arm and mips 14 years ago
Rich Felker 42c36f957d fix overlap of thread stacks with thread tls segments 14 years ago
Rich Felker 0a96a37f06 clean up and refactor program initialization 14 years ago
Rich Felker dcd6037150 support for TLS in dynamic-loaded (dlopen) modules 14 years ago
Rich Felker 9b153c043e beginnings of full TLS support in shared libraries 14 years ago
Rich Felker 8431d7972f TLS (GNU/C11 thread-local storage) support for static-linked programs 14 years ago
Rich Felker e44849f5cf protect sem_open against cancellation 14 years ago
Rich Felker bf258341b7 overhaul sem_open 14 years ago
Rich Felker 3d8d90c5cc sem_open should make process-shared semaphores 14 years ago
Rich Felker 39f296a95b use O_CLOEXEC to open semaphore files in sem_open 14 years ago
Rich Felker c983e6415a fix some indention-with-spaces that crept in 14 years ago
Rich Felker 8c0a3d9e5c microblaze port 14 years ago
Rich Felker e0ea44cb76 fix arm clone syscall bug (no effect unless app uses clone) 14 years ago