Commit 8aac921c authored by Simon Marlow's avatar Simon Marlow
Browse files

add missing initialisation for eventBufMutex

parent 2febde47
...@@ -288,6 +288,10 @@ initEventLogging(void) ...@@ -288,6 +288,10 @@ initEventLogging(void)
for (c = 0; c < n_caps; ++c) { for (c = 0; c < n_caps; ++c) {
postBlockMarker(&capEventBuf[c]); postBlockMarker(&capEventBuf[c]);
} }
#ifdef THREADED_RTS
initMutex(&eventBufMutex);
#endif
} }
void void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment