summaryrefslogtreecommitdiffstats
path: root/lib/libthr/pthread.map
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-02-03 22:38:10 +0000
committerdes <des@FreeBSD.org>2008-02-03 22:38:10 +0000
commit72d185548f88b6924d5a926aa9b6877ebe113169 (patch)
tree79362381794d659312db4ce0c9cff22878c851bf /lib/libthr/pthread.map
parentd645bec45a695d4bcad9263c30977af43db44b19 (diff)
downloadFreeBSD-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.map15
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;
+
OpenPOWER on IntegriCloud