Fix some validation errors
[ghc-hetmet.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 #ifndef THREADLABELS_H
11 #define THREADLABELS_H
12
13 #include "BeginPrivate.h"
14
15 #if defined(DEBUG)
16 void    initThreadLabelTable (void);
17 void    freeThreadLabelTable (void);
18 void *  lookupThreadLabel    (StgWord key);
19 void    removeThreadLabel    (StgWord key);
20 void    labelThread          (StgPtr tso, char *label);
21 #endif
22
23 #include "EndPrivate.h"
24
25 #endif /* THREADLABELS_H */