summaryrefslogtreecommitdiff
path: root/src/thread
AgeCommit message (Expand)AuthorFilesLines
2023-02-11fix pthread_detach inadvertently acting as cancellation point in race caseRich Felker1-2/+6
2022-12-17use libc-internal malloc for pthread_atforkRich Felker1-0/+5
2022-12-13semaphores: fix missed wakes from ABA bug in waiter count logicRich Felker4-12/+19
2022-11-12pthread_atfork: fix return value on malloc failureAlexey Izbyshev1-1/+2
2022-11-05fix async thread cancellation stack alignmentRich Felker1-1/+6
2022-10-19fix missing synchronization of pthread TSD keys with MT-forkRich Felker1-0/+8
2022-10-19fix potential unsynchronized access to killlock state at thread exitRich Felker1-6/+10
2022-08-20use alt signal stack when present for implementation-internal signalsRich Felker2-2/+2
2021-08-06fix error checking in pthread_getname_npÉrico Nogueira1-1/+1
2021-04-20add pthread_getname_np functionÉrico Rolim1-0/+25
2021-01-30fix possible fd leak via missing O_CLOEXEC in pthread_setname_npÉrico Rolim1-1/+1
2020-12-07fix omission of non-stub pthread_mutexattr_getprotocolRich Felker1-1/+1
2020-12-04fix failure to preserve r6 in s390x asm; per ABI it is call-savedRich Felker2-0/+8
2020-11-20fix regression in pthread_exitRich Felker1-0/+1
2020-11-19protect destruction of process-shared mutexes against robust list racesRich Felker1-1/+5
2020-11-19pthread_exit: don't __vm_wait under thread list lockRich Felker1-9/+15
2020-11-11lift child restrictions after multi-threaded forkRich Felker2-0/+4
2020-11-11convert malloc use under libc-internal locks to use internal allocatorRich Felker1-0/+5
2020-10-30fix erroneous pthread_cond_wait mutex waiter count logic due to typoRich Felker1-1/+1
2020-10-30fix missing-wake regression in pthread_cond_waitRich Felker1-0/+5
2020-10-28fix sem_close unmapping of still-referenced semaphoreRich Felker1-3/+5
2020-10-26fix pthread_cond_wait paired with with priority-inheritance mutexRich Felker1-6/+5
2020-10-14drop use of pthread_once in mutexattr kernel support testsRich Felker2-21/+18
2020-09-17avoid set*id/setrlimit misbehavior and hang in vforked/cloned childRich Felker1-1/+2
2020-08-30fix i386 __set_thread_area fallbackRich Felker1-0/+1
2020-08-27remove redundant pthread struct members repeated for layout purposesRich Felker1-1/+1
2020-07-06fix async-cancel-safety of pthread_cancelRich Felker1-1/+4
2020-07-06make thread killlock async-signal-safe for pthread_killRich Felker5-5/+18
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