diff options
author | jhb <jhb@FreeBSD.org> | 2004-01-05 23:09:51 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-01-05 23:09:51 +0000 |
commit | d619fa82070a36873083cba92a37c0a084e7a145 (patch) | |
tree | 25a019fa07d8ece973e59bebe29a889f9a0900ed /lib/libc/stdio/setbuffer.c | |
parent | 3b9942df2ec53c4d5da1b5e21762a16757719512 (diff) | |
download | FreeBSD-src-d619fa82070a36873083cba92a37c0a084e7a145.zip FreeBSD-src-d619fa82070a36873083cba92a37c0a084e7a145.tar.gz |
- 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)
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions