projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Share some work in MkIface
[ghc-hetmet.git]
/
rts
/
ThreadLabels.h
diff --git
a/rts/ThreadLabels.h
b/rts/ThreadLabels.h
index
97d3d0d
..
254b91e
100644
(file)
--- a/
rts/ThreadLabels.h
+++ b/
rts/ThreadLabels.h
@@
-1,27
+1,25
@@
/* -----------------------------------------------------------------------------
* ThreadLabels.h
*
/* -----------------------------------------------------------------------------
* ThreadLabels.h
*
- * (c) The GHC Team 2002-2003
+ * (c) The GHC Team 2002-2006
*
* Table of thread labels.
*
* ---------------------------------------------------------------------------*/
*
* Table of thread labels.
*
* ---------------------------------------------------------------------------*/
-#ifndef __THREADLABELS_H__
-#define __THREADLABELS_H__
-#include "Rts.h"
-#include "Hash.h"
+#ifndef THREADLABELS_H
+#define THREADLABELS_H
-void
-initThreadLabelTable(void);
+#include "BeginPrivate.h"
-void
-updateThreadLabel(StgWord key, void *data);
+#if defined(DEBUG)
+void initThreadLabelTable (void);
+void freeThreadLabelTable (void);
+void * lookupThreadLabel (StgWord key);
+void removeThreadLabel (StgWord key);
+void labelThread (StgPtr tso, char *label);
+#endif
-void *
-lookupThreadLabel(StgWord key);
+#include "EndPrivate.h"
-void
-removeThreadLabel(StgWord key);
-
-#endif /* __THREADLABELS_H__ */
+#endif /* THREADLABELS_H */