summaryrefslogtreecommitdiff
path: root/lib/libc/gen/sem.c
AgeCommit message (Expand)Author
2023-08-16Remove $FreeBSD$: two-line .h patternWarner Losh
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2017-11-25libc: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2012-02-25In revision 231989, we pass a 16-bit clock ID into kernel, howeverDavid Xu
2012-01-16Insert read memory barriers.David Xu
2010-09-25To support stack unwinding for cancellation points, add -fexceptions flagDavid Xu
2010-01-23Reapply r201145 to lib/libc/gen/sem.cAntoine Brodin
2010-01-05forgot to remove SYM_FBP10. ;-)David Xu
2010-01-05Remove unused macros.David Xu
2010-01-05Use umtx to implement process sharable semaphore, to make this work,David Xu
2009-12-28(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.Antoine Brodin
2005-10-18Make __sem_timedwait() consistent with the sem_timedwait() prototype.Stefan Farfeleder
2005-08-20Include <sys/types.h> and <limits.h> ourselves, don't assume they are includedStefan Farfeleder
2004-02-06Prevent memory leak on sem_destroy() by destroying the semaphore'sDaniel Eischen
2004-02-06Only allow the semaphore to be taken when the value is positive.Daniel Eischen
2004-02-05Correct check for invalid semaphore on sem_destroy() (s/==/!=/).Daniel Eischen
2004-02-05Correct the weak reference for sem_unlink.Daniel Eischen
2004-02-04Allow libc's version of sem_trywait() to work for non-pshared mutexes.Daniel Eischen
2004-02-03Modify the implementation of libc semaphores so that they can beDaniel Eischen
2004-01-17Backout revision 1.6, because some stub functions not in libc, andDavid Xu
2004-01-17Enable cancellation point in sem_wait, it is required by POSIX.David Xu
2003-02-16Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).Jacques Vidrine
2003-01-14Add the newly created semaphore to the named semaphore list in sem_open()Tim J. Robbins
2002-10-04Add restrict type-qualifier to sem_getvalue().Mike Barcroft
2002-09-19Welcome the sem_ API to libc!Alfred Perlstein