183 Commits (75483499dad38b97f5dabb710635e6a8bbbb1c84)

Author SHA1 Message Date
Rich Felker e3234d0109 fix pthread_cleanup_pop(1) crash in non-thread-capable, static-linked programs 14 years ago
Rich Felker dac084a4c5 work around "signal loses thread pointer" issue with "approach 2" 14 years ago
Rich Felker 2230218c28 small fix for new pthread cleanup stuff 14 years ago
Rich Felker afc35d5efd replace bad cancellation cleanup abi with a sane one 14 years ago
Rich Felker ce7d72596c fix cancellation failure in single-threaded programs 15 years ago
Rich Felker 26120950e2 report sem value overflows in sem_post 15 years ago
Rich Felker 2b89e56c94 fix typo in arm clone() asm 15 years ago
Rich Felker 5e977e8b48 recovering ownerdead robust mutex must reset recursive lock count 15 years ago
Rich Felker b6f9974ad8 simplify robust mutex unlock code path 15 years ago
Rich Felker b8688ff875 fix crash if pthread_mutex_unlock is called without ever locking 15 years ago
Rich Felker 7fe58d3511 use count=0 instead of 1 for recursive mutex with only one lock reference 15 years ago
Rich Felker 5a2e180937 synchronize cond var destruction with exiting waits 15 years ago
Rich Felker b85fec2ded fix failure-to-wake in rwlock unlock 15 years ago
Rich Felker de543b05c8 fix excessive/insufficient wakes in __vm_unlock 15 years ago
Rich Felker 9cee9307e3 improve pshared barriers 15 years ago
Rich Felker 95b1479672 next step making barrier self-sync'd destruction safe 15 years ago
Rich Felker 8f4a115e7d barrier destroy must also wait for threads in other processes exiting barrier 15 years ago
Rich Felker 067bdc2c18 correctly handle the degenerate barrier in the pshared case 15 years ago
Rich Felker 3ac092bd7d fix crash in pthread_cond_wait mutex-locked check 15 years ago
Rich Felker 823813e3f4 fix crash in pthread_testcancel if pthread_self has not been called 15 years ago
Rich Felker bc244533cc improve/debloat mutex unlock error checking in pthread_cond_wait 15 years ago
Rich Felker bfae1a8b71 check mutex owner in pthread_cond_wait 15 years ago
Rich Felker d8dc1df1c2 fix pshared barrier wrong return value. 15 years ago
Rich Felker 5e9e78ecd7 convert the barrier pshared option back to 0/1 values when getting it 15 years ago
Rich Felker 6016457011 process-shared barrier support, based on discussion with bdonlan 15 years ago
Rich Felker 3f39c9b313 fix incorrect allocation failure check in pthread_create 15 years ago
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