207 Commits (75fff40b9b536e0e6847d17ecc076894ca7b7068)

Author SHA1 Message Date
Rich Felker 3bec53e0d3 another cond var fix: requeue count race condition 15 years ago
Rich Felker 1fa0521010 fix lost signals in cond vars 15 years ago
Rich Felker 729d6368bd redo cond vars again, use sequence numbers 15 years ago
Rich Felker c11d1e6967 revert previous change in cond var waiter move 15 years ago
Rich Felker cf940165d4 optimize cond waiter move using atomic swap instead of cas loop 15 years ago
Rich Felker 09ec0f3aab fix logic for when wakeup is not desired on cond bcast 15 years ago
Rich Felker cba4e1c0a3 new futex-requeue-based pthread_cond_broadcast implementation 15 years ago
Rich Felker 97c5b5a87c fix ABA race in cond vars, improve them overall 15 years ago
Rich Felker 4b153ac424 fix deadlock in condition wait whenever there are multiple waiters 15 years ago
Rich Felker d960d4f2cb initial commit of the arm port 15 years ago
Rich Felker 3f72cdac73 overhaul clone syscall wrapping 15 years ago
Rich Felker d5fd1fa485 dummy implementation of set_thread_area 15 years ago
Rich Felker 2b71a4d1df fix more instances of old a_xchg (use new a_swap name) 15 years ago
Rich Felker 813d37839b use a_swap rather than old name a_xchg 15 years ago
Rich Felker 28af39fe42 remove some stray trailing space characters 15 years ago
Rich Felker 8fe5fa56ee fix serious bug in pthread_join 15 years ago
Rich Felker eb351a9e63 fix pthread_join wait call: thread termination tid futex is not private 15 years ago
Rich Felker a7778dae22 handle pending cancellation when enabling async cancellation 15 years ago
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