cvs commit: src/sys/kern kern_mutex.c
John Baldwin
jhb at FreeBSD.org
Mon Jan 5 15:09:53 PST 2004
jhb 2004/01/05 15:09:52 PST
FreeBSD src repository
Modified files:
sys/kern kern_mutex.c
Log:
- Allow mtx_trylock() to recurse on a recursive mutex. Attempts to recurse
on a non-recursive mutex will fail but will not trigger any assertions.
- Add an assertion to mtx_lock() that one never recurses on a non-recursive
mutex. This is mostly useful for the non-WITNESS case.
Requested by: deischen, julian, others (1)
Revision Changes Path
1.133 +11 -5 src/sys/kern/kern_mutex.c
More information about the cvs-src
mailing list