summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-18 04:23:30 +0000
committermarcel <marcel@FreeBSD.org>2004-07-18 04:23:30 +0000
commitca6b36ad28b7a910e1e42bec71c45583e481c4cc (patch)
treeb530386fab2b74777f3855a0ec3cd612c55422ba /lib/libthr
parent9514d00916dd62394e6861d3d4b72e8a29860b26 (diff)
downloadFreeBSD-src-ca6b36ad28b7a910e1e42bec71c45583e481c4cc.zip
FreeBSD-src-ca6b36ad28b7a910e1e42bec71c45583e481c4cc.tar.gz
Define _libthr_debug for use by libthread_db.
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/thread/thr_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h
index e6ba4aa..45c7fe4 100644
--- a/lib/libthr/thread/thr_private.h
+++ b/lib/libthr/thread/thr_private.h
@@ -741,6 +741,15 @@ SCLASS volatile int _spinblock_count
#endif
;
+/*
+ * libthread_db.so support.
+ */
+SCLASS int _libthr_debug
+#ifdef GLOBAL_PTHREAD_PRIVATE
+= 0
+#endif
+;
+
/* Undefine the storage class specifier: */
#undef SCLASS
OpenPOWER on IntegriCloud