summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
AgeCommit message (Expand)Author
2020-01-26Pull up following revision(s) (requested by ad in ticket #647):martin
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
2012-03-12Keep track of the size of the guard area, in case we want to make itjoerg
2012-03-12Further refine stack allocation. If the stack was provided by the user,joerg
2012-03-10Use correct size.joerg
2012-03-09-fix initial stacksize roundingdrochner
2012-03-08Actually use the stack thread attributes when creating a new thread.joerg
2012-03-08Fix the stack base pointer for the initial thread on !HPPA.joerg
2012-03-02Separate pthread_t from thread stack. Drop additional alignmentjoerg
2011-10-02put back pthread__dbg variable; this is set to no zero by td_open() whenchristos
2011-09-16Use __deadjoerg
2011-03-30Rework TLS initialisation:joerg
2011-03-12Use __lwp_gettcb_fast if present.matt
2011-03-09Add TLS support infrastructure. For dynamic binaries, ld.elf_so exportsjoerg
2010-12-22use pthread__stacksize since size has not been initialized yet.christos
2010-12-22only mprotect base if we moved it.christos
2010-12-18I've had this patch in my tree for a while and since it only improveschristos
2010-11-14Don't use internal libc function __findenv().tron
2010-07-08pthread_create: simplify error path slightly.rmind
2010-03-25fix the pthread pt_lid in the fork callback function that runs in the child i...explorer
2010-03-24Correctly set pt_lid in the child, after a forkexplorer
2009-10-03Don't just look only at the first element in the deadqueue to find lwp'schristos
2009-07-02Restore use of _lwp_makecontext, the AMD64 bug has been fixed.joerg
2009-06-25Partially revert 1.110: Use makecontext again until the problems withjoerg
2009-05-17- Convert from makecontext() -> _lwp_makecontext().ad
2009-04-01Fix the comparision function used by the red-black tree global thread listdrochner
2009-03-30Revert the _lwp_ctl which is causing problem. I did test this locally,ad
2009-03-29- Make the threadreg code use _lwp_setprivate() instead of MD hooks.ad
2008-10-08Disable diagnostic assertions by default and just return error codes likead
2008-08-02Change some type to eliminate some lint warnings.matt