summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_mutex.c
AgeCommit message (Expand)Author
2020-01-26Pull up following revision(s) (requested by ad in ticket #647):martin
2019-03-05Jemalloc initializes mutexes before we become threaded and expects to usechristos
2017-12-08Deal with more lwp_park() timestamp unconstingkre
2016-10-31Don't spin if we already own the mutex, otherwise we will get stuck spinningchristos
2016-07-17Use anonymous union for ptm_ceiling and old __pthread_spin_t field toskrll
2016-07-16KNFskrll
2016-07-03GSoC 2016 Charles Cui: Implement thread priority protection based on workchristos
2014-02-03pthread__mutex_lock_slow: fix the handling of a potential race with thermind
2014-01-31remove compatibility code for handling CLOCK_MONOTONIC and handle it in thechristos
2014-01-31PR/44756: Sad Clouds: Prevent leakage of errno = ESRCH from _lwp_park. Thischristos
2013-03-21- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.christos
2013-03-06add commentsyamt
2012-08-16Add a pthread__smt_wake and add support for it on arm along withmatt
2012-03-13Move the pthread_once alias where it belongs.joerg
2012-03-12Move pthread_once implementation into a separate file, it doesn't dependjoerg
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