cvs commit: src/include pthread_np.h src/lib/libthr pthread.map
src/lib/libthr/thread thr_mutex.c
Dag-Erling Smorgrav
des at FreeBSD.org
Sun Feb 3 14:38:11 PST 2008
des 2008-02-03 22:38:10 UTC
FreeBSD src repository
Modified files:
include pthread_np.h
lib/libthr pthread.map
lib/libthr/thread thr_mutex.c
Log:
Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex is
locked. This is intended primarily to support the userland equivalent
of the various *_ASSERT_LOCKED() macros we have in the kernel.
MFC after: 2 weeks
Revision Changes Path
1.19 +1 -0 src/include/pthread_np.h
1.22 +15 -0 src/lib/libthr/pthread.map
1.67 +16 -0 src/lib/libthr/thread/thr_mutex.c
More information about the cvs-src
mailing list