summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_sig.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-06-09 23:13:10 +0000
committerjb <jb@FreeBSD.org>1998-06-09 23:13:10 +0000
commit4d1f252a4034a0ddbec14c15af2afd1e086f3f91 (patch)
tree88995b77617349aa251ccd99ff33a092b5665691 /lib/libpthread/thread/thr_sig.c
parent10b40100e5df4d90faef790040245659fd87b28b (diff)
downloadFreeBSD-src-4d1f252a4034a0ddbec14c15af2afd1e086f3f91.zip
FreeBSD-src-4d1f252a4034a0ddbec14c15af2afd1e086f3f91.tar.gz
Add support for compile time debug. This is enabled if libc_r is built
with -D_LOCK_DEBUG. This adds the file name and line number to each lock call and these are stored in the spinlock structure. When using debug mode, the lock function will check if the thread is trying to lock something it has already locked. This is not supposed to happen because the lock will be freed too early. Without lock debug, libc_r should be smaller and slightly faster.
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud