summaryrefslogtreecommitdiff
path: root/rts/ThreadPaused.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/ThreadPaused.h')
-rw-r--r--rts/ThreadPaused.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rts/ThreadPaused.h b/rts/ThreadPaused.h
index 4d762f9aed..ee25189c20 100644
--- a/rts/ThreadPaused.h
+++ b/rts/ThreadPaused.h
@@ -8,4 +8,12 @@
#pragma once
+#include "BeginPrivate.h"
+
RTS_PRIVATE void threadPaused ( Capability *cap, StgTSO * );
+
+#include "EndPrivate.h"
+
+#if defined(THREADED_RTS) && defined(PROF_SPIN)
+extern volatile StgWord64 whitehole_threadPaused_spin;
+#endif