diff options
author | jhb <jhb@FreeBSD.org> | 2013-06-25 20:23:08 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-06-25 20:23:08 +0000 |
commit | 19d363377edf8cabee817f718377a6bc63ff7feb (patch) | |
tree | 60cbcb3e979ff7a6b8fbdeb319c971bd474cb372 /lib/libc/stdlib/llabs.c | |
parent | 0807c44cdd0226cdd2553f723a00de3d13882321 (diff) | |
download | FreeBSD-src-19d363377edf8cabee817f718377a6bc63ff7feb.zip FreeBSD-src-19d363377edf8cabee817f718377a6bc63ff7feb.tar.gz |
A few mostly cosmetic nits to aid in debugging:
- Call lock_init() first before setting any lock_object fields in
lock init routines. This way if the machine panics due to a duplicate
init the lock's original state is preserved.
- Somewhat similarly, don't decrement td_locks and td_slocks until after
an unlock operation has completed successfully.
Diffstat (limited to 'lib/libc/stdlib/llabs.c')
0 files changed, 0 insertions, 0 deletions