diff options
author | des <des@FreeBSD.org> | 2008-02-03 22:38:10 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-02-03 22:38:10 +0000 |
commit | 72d185548f88b6924d5a926aa9b6877ebe113169 (patch) | |
tree | 79362381794d659312db4ce0c9cff22878c851bf /lib/libthr/pthread.map | |
parent | d645bec45a695d4bcad9263c30977af43db44b19 (diff) | |
download | FreeBSD-src-72d185548f88b6924d5a926aa9b6877ebe113169.zip FreeBSD-src-72d185548f88b6924d5a926aa9b6877ebe113169.tar.gz |
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
Diffstat (limited to 'lib/libthr/pthread.map')
-rw-r--r-- | lib/libthr/pthread.map | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map index c6e146b..dfd6c00 100644 --- a/lib/libthr/pthread.map +++ b/lib/libthr/pthread.map @@ -395,3 +395,18 @@ global: local: *; }; + +FBSD_1.1 { +global: + pthread_mutex_islocked_np; +local: + *; +} FBSD_1.0; + +FBSDprivate_1.1 { +global: + _pthread_mutex_islocked_np; +local: + *; +} FBSDprivate_1.0; + |