summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
AgeCommit message (Expand)Author
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
2007-08-07Missed variable rename..ad
2007-08-07Change the signature of _lwp_park() to accept an lwpid_t and secondad
2007-08-04Make libpthread_dbg build again.ad
2007-08-04Fix error in previous.ad
2007-08-04Some significant performance improvements, and a fix for a race with pthreadad
2007-03-24- Test+branch is usually cheaper than making an indirect function call,ad
2007-03-14- pthread__park: always check for cancellation.ad
2007-03-05- Simplify the interface to pthread__park() and friends slightly.ad
2007-03-02Silence a gcc/lint warning.ad
2007-03-02Remove the PTHREAD_SA option. If M:N threads is reimplemented it'sad