summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_sem.c
Commit message (Expand)AuthorAgeFilesLines
* Use umtx to implement process sharable semaphore, to make this work,davidxu2010-01-051-217/+41
* Use UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE to savedavidxu2008-04-291-4/+4
* If a thread is cancelled, it may have already consumed a umtx_wake,davidxu2008-03-111-0/+2
* sem_post() requires to return -1 on error.davidxu2008-01-071-2/+2
* Simplify code, fix a thread cancellation bug in sem_wait and sem_timedwait.davidxu2007-11-231-21/+15
* Reuse nwaiter member field to record number of waiters, in sem_post(),davidxu2007-11-211-7/+31
* Remove umtx_t definition, use type long directly, add wrapper functiondavidxu2007-11-211-3/+3
* Eliminate atomic operations in thread cancellation functions, it shoulddavidxu2006-11-241-10/+10
* Replace internal usage of struct umtx with umutex which can supportsdavidxu2006-09-061-1/+1
* Fix prototype mismatch.des2006-03-281-1/+2
* Include needed headers that were obtained through <pthread.h>. Sort headersstefanf2005-09-011-0/+1
* Import my recent 1:1 threading working. some features improved includes:davidxu2005-04-021-159/+173
* Remove the band-aid (#include <time.h>).deischen2004-02-031-1/+0
* Add <time.h> -- bandaid to unbreak world in <semaphore.h>.deischen2004-02-031-0/+1
* - Define curthread as _get_curthread() and remove all direct calls tojeff2003-04-021-2/+0
* - Add libthr but don't hook it up to the regular build yet. This is anjeff2003-04-011-0/+257
OpenPOWER on IntegriCloud