hadrian: eliminate most of the remaining big rule enumerations
[ghc.git] / rts / ThreadLabels.h
1 /* -----------------------------------------------------------------------------
2 * ThreadLabels.h
3 *
4 * (c) The GHC Team 2002-2006
5 *
6 * Table of thread labels.
7 *
8 * ---------------------------------------------------------------------------*/
9
10 #pragma once
11
12 #include "BeginPrivate.h"
13
14 #if defined(DEBUG)
15 void initThreadLabelTable (void);
16 void freeThreadLabelTable (void);
17 void * lookupThreadLabel (StgWord key);
18 void removeThreadLabel (StgWord key);
19 #endif
20 void labelThread (Capability *cap,
21 StgTSO *tso,
22 char *label);
23
24 #include "EndPrivate.h"