summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sema.c
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
|
* Change the return value of sema_timedwait() so it returns 0 onjdp2004-06-141-7/+5
| | | | | | | | | | | success and a proper errno value on failure. This makes it consistent with cv_timedwait(), and paves the way for the introduction of functions such as sema_timedwait_sig() which can fail in multiple ways. Bump __FreeBSD_version and add a note to UPDATING. Approved by: scottl (ips driver), arch
* Use __FBSDID().obrien2003-06-111-2/+3
|
* Change callers of mtx_init() to pass in an appropriate lock type name. Injhb2002-04-041-1/+1
| | | | | | | most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
* Repeat after me -- "Use of ANSI string concatenation can be bad."obrien2001-12-101-8/+8
| | | | | | | | In this case, C99's __func__ is properly defined as: static const char __func__[] = "function-name"; and GCC 3.1 will not allow it to be used in bogus string concatenation.
* Implement kernel semaphores.jasone2001-08-141-0/+177
Reviewed by: jhb
OpenPOWER on IntegriCloud