1 /* -----------------------------------------------------------------------------
4 * (c) The GHC Team 2002-2006
6 * Table of thread labels.
8 * ---------------------------------------------------------------------------*/
10 #ifndef __THREADLABELS_H__
11 #define __THREADLABELS_H__
14 void initThreadLabelTable (void);
15 void freeThreadLabelTable (void);
16 void updateThreadLabel (StgWord key, void *data);
17 void * lookupThreadLabel (StgWord key);
18 void removeThreadLabel (StgWord key);
19 void labelThread (StgPtr tso, char *label);
22 #endif /* __THREADLABELS_H__ */