+/* -----------------------------------------------------------------------------
+ * ThreadLabels.c
+ *
+ * (c) The GHC Team 2002-2003
+ *
+ * Table of thread labels.
+ *
+ * ---------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "ThreadLabels.h"
void
initThreadLabelTable(void)
{
- ASSERT(threadLabels == NULL);
- threadLabels = allocHashTable();
+ if (threadLabels == NULL) {
+ threadLabels = allocHashTable();
+ }
}
void