summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regex2.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-06-25 20:23:08 +0000
committerjhb <jhb@FreeBSD.org>2013-06-25 20:23:08 +0000
commit19d363377edf8cabee817f718377a6bc63ff7feb (patch)
tree60cbcb3e979ff7a6b8fbdeb319c971bd474cb372 /lib/libc/regex/regex2.h
parent0807c44cdd0226cdd2553f723a00de3d13882321 (diff)
downloadFreeBSD-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/regex/regex2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud