summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
AgeCommit message (Expand)Author
2023-03-24Use snprintf_ss in pthread__assertfunc and update comment injoerg
2022-05-31libpthread(3): Fix a marvellous interaction with rtld.riastradh
2022-02-12libpthread: Move namespacing include to top of .c files.riastradh
2021-04-13fake-use alloca()'s return value to quieten -Werror=unused-resultmrg
2020-07-22s/reseting/resetting/msaitoh
2020-06-14Don't need to ignore ESRCH from _lwp_park() any more.ad
2020-06-11Drop self->pt_lock before clearing TSD / malloc TSD.ad
2020-06-10- Make pthread_condvar and pthread_mutex work on the stack rather than inad
2020-06-04If _malloc_thread_cleanup is implement, call it from libpthread.joerg
2020-06-03Deal with a couple of problems with threads being awoken early due toad
2020-06-02Pass down errno when calling pthread__errorfunc after a system call.joerg
2020-06-01In the interests of reliability simplify waiter handling more and redoad
2020-05-16- Try to eliminate a hang in "parked" I've been seeing while stress testing.ad
2020-05-15Lock/unlock/reinit pthread__deadqueue_lock over fork.joerg
2020-04-14Drop most of the logic associated with pthread__started.joerg
2020-02-16Revert "Enhance the pthread(3) + malloc(3) init model"kamil
2020-02-16Set __isthreaded before bootstrapping malloc(3)kamil
2020-02-15Enhance the pthread(3) + malloc(3) init modelkamil
2020-02-08Change the behavior of pthread_equal()kamil
2020-02-05Remove trailing whiteapaces and tabryoon
2020-01-29- pthread_join(): remove temporary hack now kernel returns correct errno.ad
2020-01-29Chack thread->pt_magic with PT_MAGIC promptlykamil
2020-01-29Revert previouskamil
2020-01-29Do not set stackbase2 twice for !__MACHINE_STACK_GROWS_UPkamil
2020-01-28pthread_join(): add a temporary hack to make lib/libpthread/t_detach pass.ad
2020-01-27pthread_detach(), pthread_join(): go back to using _lwp_detach() andad
2020-01-25pthread_exit(): it looks there there is at least one path through whichad
2020-01-25- Fix a race between the kernel and libpthread, where a new thread can startad
2020-01-13Rip out some very ambitious optimisations around pthread_mutex that aread
2019-03-05Transfer all the keys that were created in the libc stub implementationchristos
2018-08-19Drop a duplicate instruction linekamil
2017-12-08Deal with more lwp_park() timestamp unconstingkre
2017-07-11Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. Thisjoerg
2017-07-02Do not look at environmental variables for suid/guid binaries.joerg
2017-07-02Export the guard size of the main thread via vm.guard_size. Add ajoerg
2015-05-29Fix previous: Can't use calloc/malloc before we complete initializationchristos
2015-05-29Make PTHREAD_KEYS_MAX dynamically adjustablemanu
2014-12-16Allow for arbitrary MI scheduler implementations.pooka
2014-01-31remove compatibility code for handling CLOCK_MONOTONIC and handle it in thechristos
2013-03-21- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.christos
2013-01-01Don't rely on sys/lwp.h includeing sys/resource.h for us.dsl
2012-11-14add argsusedchristos
2012-11-06Remove duplicate "const" modifier found by clang -Wduplicate-decl-specifierapb
2012-11-03libpthread: replace the use of obsolete sys/tree.h interface with rbtree(9).rmind
2012-11-03cast return of sysconfchristos
2012-08-15return errno if pthread_create hits the system limit, not just -1drochner
2012-08-02Prefer sysconf to obtain number of CPUs.joerg
2012-05-04Simplify check for TLS definition to not hide code. Drop it in anotherjoerg
2012-04-26Store allocated lwpctl state in the thread actually forked,enami
2012-03-22don't reuse a dynamically allocated stack if a fixed one is requesteddrochner