aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_sem.c
Commit message (Expand)AuthorAgeFilesLines
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-1/+3
* Use __FBSDID() for .c files from lib/libthr/thread.Konstantin Belousov2016-04-081-2/+3
* Use umtx to implement process sharable semaphore, to make this work,David Xu2010-01-051-217/+41
* Use UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE to saveDavid Xu2008-04-291-4/+4
* If a thread is cancelled, it may have already consumed a umtx_wake,David Xu2008-03-111-0/+2
* sem_post() requires to return -1 on error.David Xu2008-01-071-2/+2
* Simplify code, fix a thread cancellation bug in sem_wait and sem_timedwait.David Xu2007-11-231-21/+15
* Reuse nwaiter member field to record number of waiters, in sem_post(),David Xu2007-11-211-7/+31
* Remove umtx_t definition, use type long directly, add wrapper functionDavid Xu2007-11-211-3/+3
* Eliminate atomic operations in thread cancellation functions, it shouldDavid Xu2006-11-241-10/+10
* Replace internal usage of struct umtx with umutex which can supportsDavid Xu2006-09-061-1/+1
* Fix prototype mismatch.Dag-Erling Smørgrav2006-03-281-1/+2
* Include needed headers that were obtained through <pthread.h>. Sort headersStefan Farfeleder2005-09-011-0/+1
* Import my recent 1:1 threading working. some features improved includes:David Xu2005-04-021-159/+173
* Remove the band-aid (#include <time.h>).Daniel Eischen2004-02-031-1/+0
* Add <time.h> -- bandaid to unbreak world in <semaphore.h>.Daniel Eischen2004-02-031-0/+1
* - Define curthread as _get_curthread() and remove all direct calls toJeff Roberson2003-04-021-2/+0
* - Add libthr but don't hook it up to the regular build yet. This is anJeff Roberson2003-04-011-0/+257