summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include/semaphore.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move the thread-related .h files to /usr/src/include/, since theguenther2017-10-151-62/+0
| | | | | | | implementation is now spread between libc and librthread. No changes to the content ok mpi@
* needs sys/cdefs.h because a case has been found where it is pulledderaadt2013-03-261-3/+3
| | | | independently; spotted by sthen/naddy
* SEM_VALUE_MAX belongs in <limits.h> (via sys/syslimits.h)guenther2013-03-241-10/+3
| | | | | | | struct sem --> struct __sem (doesn't belong in public namespace) Zap pointless _KERNEL tests ok deraadt@
* machine/limits.h does not contain everything this file wants. It wantsderaadt2013-03-241-2/+2
| | | | | the MI sys/limits.h, and has been getting lucky that all callers had already pulled that in via other means.
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+1
| | | | ok guenther millert kettenis
* sem_timedwait() needs the struct timespec tag to be pre-declared here.guenther2012-07-111-3/+4
| | | | Add restrict qualifiers.
* Add sem_timewait() and fix sem_wait()'s handling of signals, soguenther2012-03-031-1/+2
| | | | | | | that it resumes waiting unless the thread was canceled. As part of this, change the internal _sem_wait() function to return zero on success and an errno value on failure instead of 1 on success and zero on failure.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-10/+10
|
* tab vs. spacesfgsch2002-01-181-12/+12
|
* From FreeBSD: header for POSIX 1003.1b semaphores.fgsch2002-01-181-0/+68