aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_umtx.c
Commit message (Expand)AuthorAgeFilesLines
* libthr: fix warnings at WARNS=6Eric van Gyzen2017-05-191-1/+1
* Add implementation of robust mutexes, hopefully close enough to theKonstantin Belousov2016-05-171-67/+98
* Use __FBSDID() for .c files from lib/libthr/thread.Konstantin Belousov2016-04-081-3/+3
* libthr: const-ify two variablesEric van Gyzen2016-01-131-2/+3
* Use clockid parameter instead of hard-coded CLOCK_REALTIME.David Xu2012-03-191-1/+1
* Some software think a mutex can be destroyed after it owned it, forDavid Xu2012-03-181-7/+0
* Follow changes made in revision 232144, pass absolute timeout to kernel,David Xu2012-02-271-4/+31
* In revision 231989, we pass a 16-bit clock ID into kernel, howeverDavid Xu2012-02-251-17/+32
* Use unused fourth argument of umtx_op to pass flags to kernel for operationDavid Xu2012-02-221-13/+3
* Check both seconds and nanoseconds are zero, only checking nanosecondsDavid Xu2012-02-191-1/+1
* Pass CVWAIT flags to kernel, this should handleDavid Xu2011-11-171-3/+2
* MFp4:David Xu2010-12-221-0/+53
* Change atfork lock from mutex to rwlock, also make mutexes used by malloc()David Xu2010-09-011-0/+7
* Add signal handler wrapper, the reason to add it becauses there areDavid Xu2010-09-011-0/+39
* Work-around a race condition on ia64 while unlocking a contested lock.Marcel Moolenaar2009-12-141-0/+3
* Add two commands to _umtx_op system call to allow a simple mutex to beDavid Xu2008-06-241-10/+60
* Use UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE to saveDavid Xu2008-04-291-5/+6
* Replace function _umtx_op with _umtx_op_err, the later function directlyDavid Xu2008-04-021-48/+28
* Replace userland rwlock with a pure kernel based rwlock, the newDavid Xu2008-04-021-0/+24
* Remove umtx_t definition, use type long directly, add wrapper functionDavid Xu2007-11-211-2/+14
* backout experimental adaptive spinning mutex for product use.David Xu2007-05-091-1/+0
* Check environment variable PTHREAD_ADAPTIVE_SPIN, if it is set, useDavid Xu2006-12-201-0/+1
* Correctly check failed syscall.David Xu2006-12-121-10/+10
* Move checking for c_has_waiters into low level _thr_ucond_signal andDavid Xu2006-12-121-0/+4
* Add _thr_ucond_init().David Xu2006-12-051-0/+6
* Fix typo, I was using a wrong header file, and the typo is not detectedDavid Xu2006-12-041-1/+1
* Use kernel provided userspace condition variable to implement pthreadDavid Xu2006-12-041-0/+33
* o Make _thr_umutex_init a function.David Xu2006-10-131-6/+14
* Replace internal usage of struct umtx with umutex which can supportsDavid Xu2006-09-061-31/+0
* Add umutex APIs.David Xu2006-08-281-0/+46
* WARNS level 4 cleanup.David Xu2006-04-041-7/+10
* Import my recent 1:1 threading working. some features improved includes:David Xu2005-04-021-0/+80