projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2febde4
)
add missing initialisation for eventBufMutex
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 14 May 2010 09:49:43 +0000
(09:49 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 14 May 2010 09:49:43 +0000
(09:49 +0000)
rts/eventlog/EventLog.c
patch
|
blob
|
history
diff --git
a/rts/eventlog/EventLog.c
b/rts/eventlog/EventLog.c
index
7026a2a
..
ebfbb7b
100644
(file)
--- a/
rts/eventlog/EventLog.c
+++ b/
rts/eventlog/EventLog.c
@@
-288,6
+288,10
@@
initEventLogging(void)
for (c = 0; c < n_caps; ++c) {
postBlockMarker(&capEventBuf[c]);
}
+
+#ifdef THREADED_RTS
+ initMutex(&eventBufMutex);
+#endif
}
void