summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r318539 r318580 r318581 r318584 r318749 r318952 r318953 r318955vangyzen2017-06-011-2/+1
* MFC r318254:jasone2017-05-141-1/+1
* Revert r302194, there are issues with some applications after changingkib2016-06-251-4/+1
* For pthread_mutex_trylock() call on owned error-check or non-portablekib2016-06-251-2/+5
* libthr: Use formatted PANIC()cem2016-06-011-17/+6
* Add implementation of robust mutexes, hopefully close enough to thekib2016-05-171-103/+277
* If off-page lookup failed, there is no memory to performkib2016-04-121-1/+2
* Use __FBSDID() for .c files from lib/libthr/thread.kib2016-04-081-2/+3
* Assert that the lock objects put into the off-page, fit into the page.kib2016-04-081-0/+3
* Apparently there are some popular programs around which assume that itkib2016-03-221-2/+53
* Provide more information on failing checks in mutex_assert_is_owned()kib2016-03-211-4/+16
* Implement process-shared locks support for libthr.so.3, withoutkib2016-02-281-178/+338
* Propagate errors from _thr_umutex_unlock2 through mutex_unlock_common.kib2015-02-251-3/+4
* 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
OpenPOWER on IntegriCloud