Forgot an initMutex(); fixes profthreaded failures on Windows
authorSimon Marlow <marlowsd@gmail.com>
Thu, 1 Dec 2011 11:56:39 +0000 (11:56 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 1 Dec 2011 11:57:49 +0000 (11:57 +0000)
rts/Profiling.c

index ac2708e..7fb7f9e 100644 (file)
@@ -152,6 +152,10 @@ initProfiling1 (void)
             capabilities[n].r.rCCCS = CCS_SYSTEM;
         }
     }
+
+#ifdef THREADED_RTS
+    initMutex(&ccs_mutex);
+#endif
 }
 
 void