summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_mutex.c
AgeCommit message (Expand)Author
2008-08-02Change pthread_mutex_t to use the amount of space as and be congruent tomatt
2008-05-25PR lib/38741 priority inversion in libpthread breaks apps that usead
2008-05-25Add some general comments about the mutex implementation.ad
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-03-07pthread__mutex_lock_slow:ad
2008-02-23Fix pthread_mutex_trylock() for recursive mutexes. PR lib/38087.ad
2008-02-14Adjust mutex/rwlock definitions to match reality now that there is onlyad
2008-02-10- Remove libpthread's atomic ops.ad
2008-01-25Make this compile after Andrew's fix (remove now-unused variables)rafal
2008-01-25pthread_mutex_lock_slow: remove "deliberate deadlock" code that's notad
2008-01-08add missing static decls.christos
2008-01-05machine/lock.h, not sys/lock.had
2007-12-24- Fix pthread_rwlock_trywrlock() which was broken.ad
2007-11-19Remove the debuglog stuff. ktrace is more useful now.ad
2007-11-13For PR bin/37347:ad
2007-09-13Add a per-mutex deferred wakeup flag so that threads doing something likead
2007-09-11Fix inverted test after merge of nick-csl-alignment.ad
2007-09-10Merge nick-csl-alignment.skrll
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-16One more micro-optimization..ad
2007-08-16Trim fat off libpthread internal spinlock operations. Makes a mesurablead
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-20- Maintain a per-thread pointer to the last mutex acquired by the app, toad
2007-03-05Update to match changed pthread__park() interface.ad
2007-03-02Remove the PTHREAD_SA option. If M:N threads is reimplemented it'sad
2006-12-24Fix bugs with and improve upon previous.ad
2006-12-23Conditionalised support for 1:1 threads. Needs associated kernel changesad
2006-08-22Close a window in which we can not notice a recently-slept-on-ourwrstuden
2005-10-19starting the pthread library (ie. calling pthread__start()) beforechs
2005-10-16in pthread_mutex_lock_slow(), pthread_rwlock_timedrdlock() and sem_wait(),chs
2005-07-16Add cancellation protection to pthread_once() as per the standard; ifnathanw
2004-03-14add libpthread part of concurrency support for SA on MP systemscl
2003-11-24Update mutex/rwlock/sem code to match recent change in cond code.cl
2003-05-27add missing notreached lint comment.christos
2003-05-16Separately report unlocking an unlocked mutex and unlocking a mutexnathanw
2003-04-23Use pthread__error() instead of pthread__abort().nathanw
2003-04-18More agressive assertions. Change a number of detected conditions, whichnathanw
2003-04-16pthread_mutex_trylock(): It's not an error to call trylock() on anathanw
2003-04-16When a thread sleeps on a mutex or cv, have it put itself on thenathanw
2003-03-08add __RCSID()lukem
2003-02-15Remove unnecessary inclusion of <assert.h>.nathanw
2003-01-31Mutex tuneup.nathanw
2003-01-27Add debug counters for mutex and condvar operations.nathanw
2003-01-22Need to include <string.h> for memcmp() prototype.scw
2003-01-19Fix typo.thorpej
2003-01-19Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursivethorpej
2003-01-18de-lintchristos
2003-01-18Merge the nathanw_sa branch.thorpej