summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_private.h')
-rw-r--r--lib/libpthread/thread/thr_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h
index f839960..927e9d1 100644
--- a/lib/libpthread/thread/thr_private.h
+++ b/lib/libpthread/thread/thr_private.h
@@ -1317,4 +1317,11 @@ int __sys_poll(struct pollfd *, unsigned, int);
int __sys_msync(void *, size_t, int);
#endif
+static __inline int
+_thr_dump_enabled(void)
+{
+
+ return ((_thr_debug_flags & DBG_INFO_DUMP) != 0);
+}
+
#endif /* !_THR_PRIVATE_H */
OpenPOWER on IntegriCloud