summaryrefslogtreecommitdiff
path: root/src/thread
AgeCommit message (Expand)AuthorLines
2011-10-03fix crash if pthread_mutex_unlock is called without ever lockingRich Felker-1/+1
2011-10-03use count=0 instead of 1 for recursive mutex with only one lock referenceRich Felker-4/+2
2011-10-02synchronize cond var destruction with exiting waitsRich Felker-0/+11
2011-10-01fix failure-to-wake in rwlock unlockRich Felker-1/+1
2011-09-28fix excessive/insufficient wakes in __vm_unlockRich Felker-3/+3
2011-09-28improve pshared barriersRich Felker-11/+13
2011-09-28next step making barrier self-sync'd destruction safeRich Felker-6/+18
2011-09-28barrier destroy must also wait for threads in other processes exiting barrierRich Felker-0/+2
2011-09-27correctly handle the degenerate barrier in the pshared caseRich Felker-1/+1
2011-09-27fix crash in pthread_cond_wait mutex-locked checkRich Felker-1/+1
2011-09-27fix crash in pthread_testcancel if pthread_self has not been calledRich Felker-1/+1
2011-09-27improve/debloat mutex unlock error checking in pthread_cond_waitRich Felker-3/+3
2011-09-27check mutex owner in pthread_cond_waitRich Felker-0/+3
2011-09-27fix pshared barrier wrong return value.Rich Felker-1/+1
2011-09-27convert the barrier pshared option back to 0/1 values when getting itRich Felker-1/+1
2011-09-27process-shared barrier support, based on discussion with bdonlanRich Felker-10/+76
2011-09-27fix incorrect allocation failure check in pthread_createRich Felker-1/+1
2011-09-26another cond var fix: requeue count race conditionRich Felker-15/+13
2011-09-26fix lost signals in cond varsRich Felker-14/+16
2011-09-26redo cond vars again, use sequence numbersRich Felker-45/+49
2011-09-25revert previous change in cond var waiter moveRich Felker-2/+6
2011-09-25optimize cond waiter move using atomic swap instead of cas loopRich Felker-6/+2
2011-09-25fix logic for when wakeup is not desired on cond bcastRich Felker-3/+4
2011-09-25new futex-requeue-based pthread_cond_broadcast implementationRich Felker-4/+63
2011-09-23fix ABA race in cond vars, improve them overallRich Felker-11/+12
2011-09-22fix deadlock in condition wait whenever there are multiple waitersRich Felker-5/+17
2011-09-18initial commit of the arm portRich Felker-0/+78
2011-09-18overhaul clone syscall wrappingRich Felker-60/+107
2011-09-17dummy implementation of set_thread_areaRich Felker-0/+6
2011-09-16fix more instances of old a_xchg (use new a_swap name)Rich Felker-3/+3
2011-09-16use a_swap rather than old name a_xchgRich Felker-1/+1
2011-09-13remove some stray trailing space charactersRich Felker-1/+1
2011-09-11fix serious bug in pthread_joinRich Felker-2/+2
2011-09-09fix pthread_join wait call: thread termination tid futex is not privateRich Felker-1/+1
2011-09-04handle pending cancellation when enabling async cancellationRich Felker-0/+1
2011-08-14macro for pthread_equalRich Felker-1/+1
2011-08-12implement forkallRich Felker-0/+66
2011-08-12pthread and synccall cleanup, new __synccall_wait opRich Felker-7/+11
2011-08-07condition variable signal/bcast need not wake unless there are waitersRich Felker-4/+4
2011-08-07simplify unified timed wait code, drop support for newer methodRich Felker-31/+28
2011-08-07add fast path for normal mutexes back to pthread_mutex_lockRich Felker-0/+3
2011-08-07close should not be cancellable after "failing" with EINTRRich Felker-1/+2
2011-08-06simplify multi-threaded errno, eliminate useless function pointerRich Felker-7/+2
2011-08-06use weak aliases rather than function pointers to simplify some codeRich Felker-5/+12
2011-08-03further debloat cancellation handlersRich Felker-17/+30
2011-08-03missed detail in cancellation bloat fixRich Felker-1/+1
2011-08-03fix static linking dependency bloat with cancellationRich Felker-14/+21
2011-08-03overhaul rwlocks to address several issuesRich Felker-56/+42
2011-08-03timedwait: play it safe for nowRich Felker-1/+1
2011-08-02correctly handle old kernels without FUTEX_WAIT_BITSETRich Felker-1/+1