summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
AgeCommit message (Expand)Author
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
2008-06-28Minor correction to previous.ad
2008-06-28Now that we have all the scheduling gunk, make these do something useful:ad
2008-06-25pthread_join: explicitly test for cancellation.ad
2008-05-25PR lib/38741 priority inversion in libpthread breaks apps that usead
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-03-22Back out previous. It seems to expose another bug in libpthread/libc,ad
2008-03-21Move pthread__errno() into pthread_specific.c so it gets the "no stackad
2008-03-08Complain if _lwp_ctl() fails.ad
2008-01-08add missing static decls.christos
2007-12-24- Use pthread__cancelled() in more places.ad
2007-12-24- Fix pthread_rwlock_trywrlock() which was broken.ad
2007-12-11Remove test of pthread__osrev that is no longer needed.ad
2007-12-04remove unnecessary assignments.yamt
2007-12-01- On 64-bit platforms 1/2 the default tsd values were garbage. Fix it.ad
2007-11-19Remove the debuglog stuff. ktrace is more useful now.ad
2007-11-14Add pthread_equal() to libc stubs; this makes a lot of sense fordrochner
2007-11-13Mutexes:ad
2007-11-13For PR bin/37347:ad
2007-11-07Use _lwp_setname() to pass thread names to the kernel.ad
2007-10-16... but preserve the linked list, for the debugger only.ad
2007-10-16Replace the global thread list with a red-black tree. From joerg@.ad
2007-09-11Put new threads on the tail of pthread__allqueue, for the debugger.ad
2007-09-08- Get rid of self->pt_mutexhint and use pthread__mutex_owned() instead.ad
2007-09-07- Don't take the mutex's spinlock (ptr_interlock) in pthread_cond_wait().ad
2007-08-23Acquire the correct lock in pthread_detach(). Spotted by Jan Kryl.ad
2007-08-17pthread_suspend_np, pthread_resume_np, pthread_detach: return correct codead
2007-08-16Trim fat off libpthread internal spinlock operations. Makes a mesurablead
2007-08-16- Reinitialize the absolute minimum when recycling user thread state.ad
2007-08-16Remove PT_FIXEDSTACKSIZE_LG.ad
2007-08-16Cache thread context for creation instead of setting it up every time.ad
2007-08-15Simplify pthread_join(). Knocks about 5% off pthread_create/join in a loop.ad