383 Commits (d56460c939c94a6c547abe8238f442b8de10bfbd)

Author SHA1 Message Date
Rich Felker 52213f7341 security fix: check that cancel/rsyscall signal was sent by the process itself 15 years ago
Rich Felker 500c969f05 fix error handling for pthread_sigmask 15 years ago
Rich Felker 6dc05fbe19 optimize pthread initialization 15 years ago
Rich Felker 31e06075d5 simplify and optimize pthread_mutex_trylock 15 years ago
Rich Felker e5dd18319b rwlock trylock functions were wrongly returning EAGAIN instead of EBUSY 15 years ago
Rich Felker 7e6be42a77 fix major breakage in pthread_once (it was always deadlocking) 15 years ago
Rich Felker 4820f9268d fix and optimize non-default-type mutex behavior 15 years ago
Rich Felker 1d6b1f1592 implement pthread_mutexattr_[gs]etpshared functions 15 years ago
Rich Felker 9d5251f72b disallow cpu time clocks as condattr clock values 15 years ago
Rich Felker 9fe28f703d fix off-by-one error in sem_(timed)wait (using old sem value instead of new) 15 years ago
Rich Felker 5fd4a98165 use the selected clock from the condattr for pthread_cond_timedwait 15 years ago
Rich Felker cc2e0b45a6 implement pthread_rwlockattr_* (essentially no-ops) 15 years ago
Rich Felker b4d40e44e3 implement pthread_condattr_* interfaces 15 years ago
Rich Felker 63b06c0e90 reject invalid attribute settings 15 years ago
Rich Felker 951e764091 implement barrier attribute functions (essentially no-ops) 15 years ago
Rich Felker 8c967b9386 enforce stack size min in pthread_attr_setstacksize 15 years ago
Rich Felker 6fc5fdbdc7 implement POSIX semaphores 15 years ago
Rich Felker b480808a6a optimize POSIX TSD for fast pthread_getspecific 15 years ago
Rich Felker 98e02144da use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code 15 years ago
Rich Felker 19eb13b9a4 race condition fix: block all signals before decrementing thread count 15 years ago
Rich Felker fb11b6b85e make pthread_exit run dtors for last thread, wait to decrement thread count 15 years ago
Rich Felker e9417fffb3 add pthread_atfork interface 15 years ago
Rich Felker e882756311 reorganize pthread data structures and move the definitions to alltypes.h 15 years ago
Rich Felker e3657ba599 patch by njk, simplifies thread register initialization for x86_64 15 years ago
Rich Felker 22cd9cae81 patch from njk: make x86_64 __uniclone branchless. 15 years ago
Nicholas J. Kain 1e12632591 Port musl to x86-64. One giant commit! 15 years ago
Rich Felker 7b2dd2235d finish unifying thread register handling in preparation for porting 15 years ago
Rich Felker 0b2006c8fe begin unifying clone/thread management interface in preparation for porting 15 years ago
Rich Felker 59666802fb make pthread_create return EAGAIN on resource failure, as required by POSIX 15 years ago
Rich Felker 1a9a2ff7b0 reorganize thread exit code, make pthread_exit call cancellation handlers (pt2) 15 years ago
Rich Felker 50e26f09eb reorganize thread exit code, make pthread_exit call cancellation handlers 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago