summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sema.c
Commit message (Collapse)AuthorAgeFilesLines
* 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