diff options
Diffstat (limited to 'rts/Profiling.c')
-rw-r--r-- | rts/Profiling.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/Profiling.c b/rts/Profiling.c index ac2708eda1..7fb7f9e3cf 100644 --- a/rts/Profiling.c +++ b/rts/Profiling.c @@ -152,6 +152,10 @@ initProfiling1 (void) capabilities[n].r.rCCCS = CCS_SYSTEM; } } + +#ifdef THREADED_RTS + initMutex(&ccs_mutex); +#endif } void |