diff options
Diffstat (limited to 'rts/ThreadLabels.h')
-rw-r--r-- | rts/ThreadLabels.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/rts/ThreadLabels.h b/rts/ThreadLabels.h new file mode 100644 index 0000000000..97d3d0d241 --- /dev/null +++ b/rts/ThreadLabels.h @@ -0,0 +1,27 @@ +/* ----------------------------------------------------------------------------- + * ThreadLabels.h + * + * (c) The GHC Team 2002-2003 + * + * Table of thread labels. + * + * ---------------------------------------------------------------------------*/ +#ifndef __THREADLABELS_H__ +#define __THREADLABELS_H__ + +#include "Rts.h" +#include "Hash.h" + +void +initThreadLabelTable(void); + +void +updateThreadLabel(StgWord key, void *data); + +void * +lookupThreadLabel(StgWord key); + +void +removeThreadLabel(StgWord key); + +#endif /* __THREADLABELS_H__ */ |