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