summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* MFp4:davidxu2012-08-111-8/+8
* Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could notdavidxu2012-05-271-0/+1
* Return 0 instead of garbage value.davidxu2011-01-061-2/+1
* Always clear flag PMUTEX_FLAG_DEFERED when unlocking, as it is onlydavidxu2010-12-241-2/+2
* MFp4:davidxu2010-12-221-82/+120
* Remove locking and unlock in pthread_mutex_destroy, becausedavidxu2010-10-271-25/+2
* Check invalid mutex in _mutex_cv_unlock.davidxu2010-09-291-0/+6
* In current code, statically initialized and destroyed object havedavidxu2010-09-281-119/+98
* Change atfork lock from mutex to rwlock, also make mutexes used by malloc()davidxu2010-09-011-5/+23
* Add two commands to _umtx_op system call to allow a simple mutex to bedavidxu2008-06-241-35/+33
* - Reduce function call overhead for uncontended case.davidxu2008-05-291-205/+103
* Increase the default MUTEX_ADAPTIVE_SPINS to 2000, after furtherkris2008-04-261-1/+1
* Fixed mis-implementation of pthread_mutex_get{spin,yield}loops_np().ru2008-03-251-4/+7
* _pthread_mutex_isowned_np(): use a more reliable method; the current codedes2008-02-141-1/+1
* Remove unnecessary prototype.des2008-02-061-1/+0
* Per discussion on -threads, rename _islocked_np() to _isowned_np().des2008-02-061-3/+3
* After careful consideration (and a brief discussion with attilio@), changedes2008-02-041-1/+1
* Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex isdes2008-02-031-0/+16
* Add function prototypes.davidxu2007-12-171-1/+7
* 1. Add function pthread_mutex_setspinloops_np to turn a mutex's spindavidxu2007-12-141-29/+104
* Enclose all code for macro ENQUEUE_MUTEX in do while statement, anddavidxu2007-12-111-5/+7
* Fix pointer dereferencing problems in _pthread_mutex_init_calloc_cb() thatjasone2007-11-281-7/+3
* Add _pthread_mutex_init_calloc_cb() to libthr and libkse, so that malloc(3)jasone2007-11-271-6/+27
* Convert ceiling type to unsigned integer before comparing, fix compilerdavidxu2007-11-211-3/+3
* Avoid doing adaptive spinning for priority protected mutex, currentdavidxu2007-10-311-2/+5
* Don't do adaptive spinning if it is running on UP kernel.davidxu2007-10-311-3/+5
* Restore revision 1.55, the kris's adaptive mutex type.davidxu2007-10-311-14/+36
* Adaptive mutexes should have the same deadlock detection properties thatkris2007-10-301-0/+1
* Add my recent work of adaptive spin mutex code. Use two environments variabledavidxu2007-10-301-45/+37
* Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. Thiskris2007-10-291-0/+29
* backout experimental adaptive spinning mutex for product use.davidxu2007-05-091-1/+0
* Insert mutex at tail if it has highest ceiling.davidxu2007-01-051-1/+1
* Oops, don't corrupt the list.davidxu2007-01-051-1/+1
* Check if the PP mutex is recursive, if we have already locked it, place thedavidxu2007-01-051-9/+28
* Check environment variable PTHREAD_ADAPTIVE_SPIN, if it is set, usedavidxu2006-12-201-0/+1
* Create inline function _thr_umutex_trylock2 to only try one atomicdavidxu2006-12-141-3/+3
* Move code calculating new inherited priority into single function.davidxu2006-11-111-30/+21
* Use return value of _thr_umutex_lock instead of using zero.davidxu2006-09-081-2/+1
* Use umutex APIs to implement pthread_mutex, member pp_mutexq is addeddavidxu2006-08-281-55/+100
* Axe unused member field.davidxu2006-08-081-2/+0
* Unexpand two TAILQ_FOREACH_SAFE cases.delphij2006-07-171-2/+1
* Remove unused member field m_queue.davidxu2006-06-021-5/+1
* Do not check validity of timeout if a mutex can be acquired immediately.davidxu2006-04-081-67/+89
* WARNS level 4 cleanup.davidxu2006-04-041-11/+22
* Remove priority mutex code because it does not work correctly,davidxu2006-03-271-1118/+122
* Reimplement mutex_init to get rid of compile warning.davidxu2006-02-281-88/+39
* Eliminate unused code.davidxu2006-01-161-7/+1
* Enable mutex inheritance code in mutex_fork, I forgot to turn on it.davidxu2006-01-141-1/+11
* Let _mutex_cv_lock call internal functiona mutex_lock_common.davidxu2005-12-211-1/+2
* Remove unused _get_curthread() call.davidxu2005-12-121-2/+0
OpenPOWER on IntegriCloud