summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_sem.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace the at_fork, at_exec, and at_exit functions with the slightly morejhb2003-03-241-6/+12
| | | | | | | | | flexible process_fork, process_exec, and process_exit eventhandlers. This reduces code duplication and also means that I don't have to go duplicate the eventhandler locking three more times for each of at_fork, at_exec, and at_exit. Reviewed by: phk, jake, almost complete silence on arch@
* Use td_ucred of curthread instead of p_ucred of curproc. This requiredjhb2003-03-201-17/+17
| | | | | changing sem_perm() and sem_hasopen() to take a thread instead of a proc for the first argument.
* Back out M_* changes, per decision of the TRB.imp2003-02-191-3/+3
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-3/+3
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* make sem_leave return a usable errno instead of -1.alfred2003-01-101-3/+3
| | | | | | make ksem_close return that usable errno instead of -1 (ERESTART). PR: 46957
* Be consistent about funtions being static.phk2002-10-161-11/+11
| | | | Spotted by: FlexeLint
* disable debug output by default.alfred2002-10-071-24/+30
|
* Bring in my implementation of kernel support for posix realtime semaphoresalfred2002-09-181-0/+835
that are shareable between processes. There will be a cleanup shortly along with the necessary changes made to libc, libc_r, libpthread as well as the hooks into sys/conf and sys/modules.
OpenPOWER on IntegriCloud