139 Commits (47a8816ded18284d924387c918186935d2495c01)

Author SHA1 Message Date
Rich Felker 9205e48609 macro for pthread_equal 15 years ago
Rich Felker 4054a135fc implement forkall 15 years ago
Rich Felker 407d933052 pthread and synccall cleanup, new __synccall_wait op 15 years ago
Rich Felker 1407785824 condition variable signal/bcast need not wake unless there are waiters 15 years ago
Rich Felker b3c08a16c0 simplify unified timed wait code, drop support for newer method 15 years ago
Rich Felker b2b95a58b4 add fast path for normal mutexes back to pthread_mutex_lock 15 years ago
Rich Felker 188ebf51b4 close should not be cancellable after "failing" with EINTR 15 years ago
Rich Felker 357876052b simplify multi-threaded errno, eliminate useless function pointer 15 years ago
Rich Felker 98acf04fc0 use weak aliases rather than function pointers to simplify some code 15 years ago
Rich Felker 5f37fc132a further debloat cancellation handlers 15 years ago
Rich Felker 56385dd5fe missed detail in cancellation bloat fix 15 years ago
Rich Felker 730bee725a fix static linking dependency bloat with cancellation 15 years ago
Rich Felker 50304f2eef overhaul rwlocks to address several issues 15 years ago
Rich Felker 8aeee8db21 timedwait: play it safe for now 15 years ago
Rich Felker 4717bfec70 correctly handle old kernels without FUTEX_WAIT_BITSET 15 years ago
Rich Felker bdd893377f fix sem_timedwait bug introduced in timedwait unification 15 years ago
Rich Felker ec381af902 unify and overhaul timed futex waits 15 years ago
Rich Felker c68de0be2f avoid accessing mutex memory after atomic unlock 15 years ago
Rich Felker 344ea14885 fix breakage in cancellation due to signal functions overhaul 15 years ago
Rich Felker 88c4e72031 overhaul posix semaphores to fix destructability race 15 years ago
Rich Felker ad5881842e clean up pthread_sigmask/sigprocmask dependency order 15 years ago
Rich Felker dba68bf98f add proper fuxed-based locking for stdio 15 years ago
Rich Felker 7dd60b80f9 fix bug in synccall with no threads: lock was taken but never released 15 years ago
Rich Felker acb0480662 new attempt at making set*id() safe and robust 15 years ago
Rich Felker 6e53a6eca4 fix useless use of potentially-uninitialized mode variable in sem_open 15 years ago
Rich Felker c7d19f9923 restore use of .type in asm, but use modern @function (vs %function) 15 years ago
Rich Felker 7779dbd266 fix race condition in pthread_kill 15 years ago
Rich Felker f58c8a0f39 run dtors before taking the exit-lock in pthread exit 15 years ago
Rich Felker 6232b96f51 minor locking optimizations 15 years ago
Rich Felker 1e4f1cf154 remove all .size and .type directives for functions from the asm 15 years ago
Rich Felker ddd87b2f10 implement pthread_[sg]etconcurrency. 15 years ago
Rich Felker 11e4b92556 optimize out useless default-attribute object in pthread_create 15 years ago
Rich Felker 4c4e22d781 optimize compound-literal sigset_t's not to contain useless hurd bits 15 years ago
Rich Felker 99b8a25e94 overhaul implementation-internal signal protections 15 years ago
Rich Felker 77f15d108e reduce some ridiculously large spin counts 15 years ago
Rich Felker 9dd6399c95 remove debug code that was missed in barrier commit 15 years ago
Rich Felker f16a3089be completely new barrier implementation, addressing major correctness issues 15 years ago
Rich Felker e6cc1d6c0e fix initial stack alignment in new threads on x86_64 15 years ago
Rich Felker 870cc67977 fix minor bugs due to incorrect threaded-predicate semantics 15 years ago
Rich Felker a6054e3c94 move some more code out of pthread_create.c 15 years ago
Rich Felker 4f24994920 fix uninitialized waiters field in semaphores 15 years ago
Rich Felker be2e06d347 recheck cancellation disabled flag after syscall returns EINTR 15 years ago
Rich Felker 1bc44a4734 fix typo in x86_64 cancellable syscall asm 15 years ago
Rich Felker 2afed79f15 pthread_exit is not supposed to affect cancellability 15 years ago
Rich Felker 1ebde9c3a2 fix pthread_exit from cancellation handler 15 years ago
Rich Felker 9080cc153c clean up handling of thread/nothread mode, locking 15 years ago
Rich Felker eb0e8fa0b1 debloat: use __syscall instead of syscall where possible 15 years ago
Rich Felker 09dae2b7b6 fix bugs in cancellable syscall asm 15 years ago
Rich Felker ebf82447be optimize cancellation enable/disable code 15 years ago
Rich Felker 02eff258c6 don't use pthread_once when there is no danger in race 15 years ago