summaryrefslogtreecommitdiff
path: root/src/thread/pthread_create.c
AgeCommit message (Expand)AuthorFilesLines
2022-10-19fix potential unsynchronized access to killlock state at thread exitRich Felker1-6/+10
2020-11-20fix regression in pthread_exitRich Felker1-0/+1
2020-11-19pthread_exit: don't __vm_wait under thread list lockRich Felker1-9/+15
2020-08-27remove redundant pthread struct members repeated for layout purposesRich Felker1-1/+1
2020-07-06make thread killlock async-signal-safe for pthread_killRich Felker1-5/+6
2020-05-22restore lock-skipping for processes that return to single-threaded stateRich Felker1-4/+4
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-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-04-10overhaul i386 syscall mechanism not to depend on external asm sourceRich Felker1-0/+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 Felker1-0/+2
2019-02-16rewrite __synccall in terms of global thread listRich Felker1-4/+0
2019-02-15track all live threads in an AS-safe, fully-consistent linked listRich Felker1-30/+73
2019-02-15always block signals for starting new threads, refactor start argsRich Felker1-37/+56
2018-09-18remove redundant declarations of __default_stacksize, __default_guardsizeRich Felker1-2/+0
2018-09-12split internal lock API out of libc.h, creating lock.hRich Felker1-0/+1
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker1-4/+0
2018-09-12move declarations of tls setup/access functions to pthread_impl.hRich Felker1-2/+0
2018-08-16fix pthread_create return value with PTHREAD_EXPLICIT_SCHEDRich Felker1-0/+1
2018-07-27make pthread_attr_init honor defaults set by pthread_setattr_default_npRich Felker1-2/+2
2018-05-09make linking of thread-start with explicit scheduling conditionalRich Felker1-28/+7
2018-05-09improve design of thread-start with explicit scheduling attributesRich Felker1-21/+39
2018-05-05improve joinable/detached thread state handlingRich Felker1-9/+12
2018-05-05improve pthread_exit synchronization with functions targeting tidRich Felker1-11/+13
2018-05-02use a dedicated futex object for pthread_join instead of tid fieldRich Felker1-1/+2
2018-02-03store pthread stack guard sizes for pthread_getattr_npWilliam Pitcock1-1/+2
2018-01-09consistently use the LOCK an UNLOCK macrosJens Gustedt1-3/+3
2017-09-06fix signal masking race in pthread_create with priority attributesRich Felker1-2/+7
2016-11-08add limited pthread_setattr_default_np API to set stack size defaultsRich Felker1-4/+8
2016-11-08fix pthread_create regression from stack/guard size simplificationRich Felker1-1/+4
2016-11-07simplify pthread_attr_t stack/guard size representationRich Felker1-3/+3
2016-06-27fix failure to obtain EOWNERDEAD status for process-shared robust mutexesRich Felker1-1/+1
2015-06-17ignore ENOSYS error from mprotect in pthread_create and dynamic linkerRich Felker1-1/+2
2015-06-16refactor stdio open file list handling, move it out of global libc structRich Felker1-1/+2
2015-05-16eliminate costly tricks to avoid TLS access for current locale stateRich Felker1-6/+0
2015-05-06fix stack protector crashes on x32 & powerpc due to misplaced TLS canaryRich Felker1-1/+1
2015-04-18make dlerror state and message thread-local and dynamically-allocatedRich Felker1-0/+2
2015-04-13remove remnants of support for running in no-thread-pointer modeRich Felker1-2/+0
2015-04-10apply vmlock wait to __unmapself in pthread_exitRich Felker1-0/+4
2015-04-10redesign and simplify vmlock systemRich Felker1-4/+2
2015-04-10optimize out setting up robust list with kernel when not neededRich Felker1-0/+1
2015-04-10process robust list in pthread_exit to fix detached thread use-after-unmapRich Felker1-2/+27
2015-02-16make pthread_exit responsible for disabling cancellationRich Felker1-0/+2
2015-01-15overhaul __synccall and fix AS-safety and other issues in set*idRich Felker1-0/+3
2014-09-07add C11 thread creation and related thread functionsRich Felker1-4/+12
2014-09-06use weak symbols for the POSIX functions that will be used by C threadsJens Gustedt1-7/+14