diff options
-rw-r--r-- | rts/IPE.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -63,10 +63,20 @@ static HashTable *ipeMap = NULL; // Accessed atomically static IpeBufferListNode *ipeBufferList = NULL; +#if defined(THREADED_RTS) + void initIpe(void) { initMutex(&ipeMapLock); } void exitIpe(void) { closeMutex(&ipeMapLock); } +#else + +void initIpe(void) { } + +void exitIpe(void) { } + +#endif // THREADED_RTS + static InfoProvEnt ipeBufferEntryToIpe(const IpeBufferListNode *node, const IpeBufferEntry *ent) { const char *strings = node->string_table; |