blob: ee25189c20e0e0b70ccebf949dada9722f5b2079 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team 1998-2006
*
* Tidying up a thread when it stops running
*
* ---------------------------------------------------------------------------*/
#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
|