summaryrefslogtreecommitdiff
path: root/src/thread
AgeCommit message (Expand)AuthorFilesLines
2020-05-22restore lock-skipping for processes that return to single-threaded stateRich Felker2-5/+7
2020-05-22don't use libc.threads_minus_1 as relaxed atomic for skipping locksRich Felker1-1/+1
2020-05-22reorder thread list unlink in pthread_exit after all locksRich Felker1-8/+11
2019-09-13harden thread start with failed scheduling against broken __cloneRich Felker1-1/+1
2019-09-11fix arm __a_barrier_oldkuser when built as thumbRich Felker1-2/+2
2019-09-11fix code path where child function returns in arm __clone built as thumbRich Felker1-7/+3
2019-09-06synchronously clean up pthread_create failure due to scheduling errorsRich Felker1-13/+18
2019-09-06set explicit scheduling for new thread from calling thread, not selfRich Felker1-21/+12
2019-09-06fix unsynchronized decrement of thread count on pthread_create errorRich Felker1-1/+2
2019-08-06in arm cancellation point asm, don't unnecessarily preserve link registerPatrick Oppenlander1-4/+4
2019-08-02fix missing declarations for pthread_join extensions in source fileRich Felker1-0/+1
2019-07-29remove x32 syscall timespec fixup hacksRich Felker2-43/+4
2019-07-28futex wait operations: add time64 syscall support, decouple 32-bit time_tRich Felker2-3/+41
2019-07-27refactor thrd_sleep and nanosleep in terms of clock_nanosleepRich Felker1-1/+2
2019-06-14add riscv64 architecture supportRich Felker4-0/+76
2019-04-10remove external __syscall function and last remaining usersRich Felker1-1/+1
2019-04-10overhaul i386 syscall mechanism not to depend on external asm sourceRich Felker1-0/+1
2019-04-01fix harmless-by-chance typo in priority inheritance mutex codeRich Felker1-1/+1
2019-03-31implement priority inheritance mutexesRich Felker4-8/+93
2019-03-29clean up access to mutex type in pthread_mutex_trylockRich Felker1-2/+2
2019-03-21fix data race choosing next key slot in pthread_key_createRich Felker1-1/+1
2019-03-13fix namespace violation in dependencies of mtx_lockRich Felker1-1/+1
2019-02-22add membarrier syscall wrapper, refactor dynamic tls install to use itRich Felker1-2/+2
2019-02-22make thread list lock a recursive lockRich Felker1-11/+21
2019-02-18install dynamic tls synchronously at dlopen, streamline accessRich Felker3-14/+3
2019-02-17fix data race between new pthread_key_delete and dtor executionRich Felker1-2/+4
2019-02-16introduce namespace-safe rwlock aliases; use in pthread_key_createRich Felker8-20/+34
2019-02-16rewrite pthread_key_delete to use global thread listRich Felker2-75/+19
2019-02-16rewrite __synccall in terms of global thread listRich Felker2-123/+59
2019-02-15track all live threads in an AS-safe, fully-consistent linked listRich Felker4-38/+81
2019-02-15always block signals for starting new threads, refactor start argsRich Felker2-56/+56
2019-02-12redesign robust mutex states to eliminate data races on type fieldRich Felker4-12/+23
2019-01-16fix unintended linking dependency of pthread_key_create on __synccallRich Felker1-0/+6
2018-12-19make sem_wait and sem_timedwait interruptible by signalsRich Felker1-1/+1
2018-12-18don't fail pthread_sigmask/sigprocmask on invalid how when set is nullRich Felker1-1/+1
2018-12-18add __timedwait backend workaround for old kernels where futex EINTRsRich Felker1-0/+8
2018-10-12combine arch ABI's DTP_OFFSET into DTV pointersRich Felker1-2/+2
2018-09-18limit the configurable default stack/guard size for threadsRich Felker2-6/+10
2018-09-18remove redundant declarations of __default_stacksize, __default_guardsizeRich Felker3-8/+0
2018-09-18fix benign data race in pthread_attr_initRich Felker1-0/+2
2018-09-18fix deletion of pthread tsd keys that still have non-null values storedRich Felker2-18/+101
2018-09-15check for kernel support before allowing robust mutex creationRich Felker1-1/+17
2018-09-12split internal lock API out of libc.h, creating lock.hRich Felker8-1/+8
2018-09-12reduce spurious inclusion of libc.hRich Felker8-8/+1
2018-09-12remove unused __futex function and source fileRich Felker1-7/+0
2018-09-12hide __pthread_once_full symbolRich Felker1-1/+1
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker22-53/+6
2018-09-12use hidden visibility for sh __unmapself backendsRich Felker2-2/+3
2018-09-12make arch __set_thread_area backends hiddenRich Felker9-0/+9
2018-09-12make arch __clone backends hiddenRich Felker15-0/+15