aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/sem_new.c
Commit message (Expand)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* libc: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-1/+3
* Make semaphore names list mutex non-recursive.Konstantin Belousov2017-04-301-5/+1
* Restructure normal (non-error) control flow in sem_close().Konstantin Belousov2017-04-301-12/+10
* Style.Konstantin Belousov2017-04-301-22/+25
* Add sem_clockwait_np()Eric van Gyzen2017-02-231-16/+37
* sem: Don't free nameinfo that is still in list when open() fails.Jilles Tjoelker2016-01-221-1/+3
* sem_post(): Fix and document semaphore value overflow error.Jilles Tjoelker2015-01-281-2/+4
* The current POSIX semaphore implementation stores the _has_waiters flagJohn Baldwin2014-10-241-13/+14
* Invalidate the cache for the named posix semaphore when opened andKonstantin Belousov2014-05-101-29/+36
* Style.Konstantin Belousov2014-05-101-2/+2
* To avoid missing a chance to cancel thread, call _pthread_testcancel at theDavid Xu2014-03-131-0/+1
* Make more code be protected by internal mutex, and now it is fork-safe, inDavid Xu2013-02-171-2/+2
* Simplify code by using flag O_EXLOCK.David Xu2013-02-161-9/+3
* libc: Use O_CLOEXEC for various internal file descriptors.Jilles Tjoelker2012-09-291-1/+1
* sem_open: Make sure to fail an O_CREAT|O_EXCL open, even if that semaphoreJilles Tjoelker2012-04-091-4/+10
* In sem_post, the field _has_waiters is no longer used, because someDavid Xu2012-04-051-16/+8
* Revert previous change. It is an incomplete change from old branch. :-(David Xu2012-03-211-60/+39
* Use version 2 of semaphore provided by kernel umtx code, now if there isDavid Xu2012-03-211-39/+60
* In revision 231989, we pass a 16-bit clock ID into kernel, howeverDavid Xu2012-02-251-11/+16
* Insert read memory barriers.David Xu2012-01-161-0/+1
* To support stack unwinding for cancellation points, add -fexceptions flagDavid Xu2010-09-251-30/+7
* preserve errno when processing error cases.David Xu2010-01-181-1/+3
* Also call sem_module_init in sem_close to initialize mutexDavid Xu2010-01-151-0/+2
* Return SEM_FAILED instead of NULL, though there are same, but theDavid Xu2010-01-131-2/+3
* Don't forget to use fourth argument if O_CREAT is set in argument oflag.David Xu2010-01-071-1/+3
* More cleanup, remove _libc prefix because libthr no longer has stubsDavid Xu2010-01-051-31/+21
* Don't check has_waiters twice, inline some small functions.David Xu2010-01-051-8/+5
* Use umtx to implement process sharable semaphore, to make this work,David Xu2010-01-051-0/+470