summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* Insert mutex at tail if it has highest ceiling.David Xu2007-01-051-1/+1
* Oops, don't corrupt the list.David Xu2007-01-051-1/+1
* Check if the PP mutex is recursive, if we have already locked it, place theDavid Xu2007-01-051-9/+28
* Check environment variable PTHREAD_ADAPTIVE_SPIN, if it is set, useDavid Xu2006-12-201-0/+1
* Create inline function _thr_umutex_trylock2 to only try one atomicDavid Xu2006-12-141-3/+3
* Move code calculating new inherited priority into single function.David Xu2006-11-111-30/+21
* Use return value of _thr_umutex_lock instead of using zero.David Xu2006-09-081-2/+1
* Use umutex APIs to implement pthread_mutex, member pp_mutexq is addedDavid Xu2006-08-281-55/+100
* Axe unused member field.David Xu2006-08-081-2/+0
* Unexpand two TAILQ_FOREACH_SAFE cases.Xin LI2006-07-171-2/+1
* Remove unused member field m_queue.David Xu2006-06-021-5/+1
* Do not check validity of timeout if a mutex can be acquired immediately.David Xu2006-04-081-67/+89
* WARNS level 4 cleanup.David Xu2006-04-041-11/+22
* Remove priority mutex code because it does not work correctly,David Xu2006-03-271-1118/+122
* Reimplement mutex_init to get rid of compile warning.David Xu2006-02-281-88/+39
* Eliminate unused code.David Xu2006-01-161-7/+1
* Enable mutex inheritance code in mutex_fork, I forgot to turn on it.David Xu2006-01-141-1/+11
* Let _mutex_cv_lock call internal functiona mutex_lock_common.David Xu2005-12-211-1/+2
* Remove unused _get_curthread() call.David Xu2005-12-121-2/+0
* - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution.Stefan Farfeleder2005-08-191-1/+1
* Import my recent 1:1 threading working. some features improved includes:David Xu2005-04-021-589/+1385
* Remove vestiges of libthr's signal mangling past. This fixes that lastMike Makonnen2004-09-221-14/+1
* The SUSv3 function say that the affected functions MAY FAIL, if theMike Makonnen2004-09-221-27/+6
* o Assertions to catch that stuff that shouldn't happen is not happening.Mike Makonnen2004-07-301-0/+2
* Change the thread ID (thr_id_t) used for 1:1 threading from being aMarcel Moolenaar2004-07-021-4/+4
* Make libthr async-signal-safe without costly signal masking. The guidlines IMike Makonnen2004-05-201-42/+33
* q§Mike Makonnen2004-05-201-7/+5
* The thread suspend function now returns ETIMEDOUT, not EAGAIN.Mike Makonnen2004-03-291-1/+1
* Stop using signals for synchronizing threads. The performance penaltyMike Makonnen2004-03-271-1/+1
* o The mutex locking functions aren't normally cancellation points. But,Mike Makonnen2004-03-261-3/+12
* o Refactor and, among other things, get rid of insane nesting levels.Mike Makonnen2004-02-181-810/+300
* Refactor _pthread_mutex_initMike Makonnen2004-01-191-125/+64
* o Implement pthread_mutex_timedlock(), which does not block indefinitely onMike Makonnen2003-12-301-0/+32
* Make it possible for the library to specify a timeout value whenMike Makonnen2003-12-301-20/+47
* Fix the wrapper function around signals so that a signal handlingMike Makonnen2003-12-091-25/+1
* Change all instances of THR_LOCK/UNLOCK, etc to UMTX_*.Mike Makonnen2003-07-061-2/+2
* _pthread_mutex_trylock() is another internal libc function that must blockMike Makonnen2003-07-031-0/+8
* Begin making libthr async signal safe.Mike Makonnen2003-07-021-2/+22
* Do not attempt to reque a thread on a mutex queue. It may be thatMike Makonnen2003-07-011-1/+1
* Catchup with _thread_suspend() changes.Mike Makonnen2003-06-301-1/+5
* Sweep through pthread locking and use the new locking primitives forMike Makonnen2003-06-291-2/+2
* Consolidate static_init() and static_init_private into one function.Mike Makonnen2003-06-021-17/+11
* I botched one of my committs in the last round. Fix it.Mike Makonnen2003-05-311-10/+8
* Make the mutex static initializers look more like the one forMike Makonnen2003-05-291-25/+19
* Make WARNS2 clean. The fixes mostly included:Mike Makonnen2003-05-231-2/+4
* Insert a debugging aid:Mike Makonnen2003-05-211-1/+9
* msg1Mike Makonnen2003-05-121-263/+129
* o Correct a debug message that refered to the wrong functionMike Makonnen2003-05-061-1/+1
* - Define curthread as _get_curthread() and remove all direct calls toJeff Roberson2003-04-021-8/+5
* - Restore old mutex code from libc_r. It is more standards compliant.Jeff Roberson2003-04-011-199/+1328