attempt to fix #1391, hold locks across fork() and initialize them in the child
[ghc-hetmet.git] / rts / PrimOps.cmm
index d465709..67227d0 100644 (file)
@@ -48,6 +48,8 @@ import base_GHCziIOBase_NestedAtomically_closure;
 import pthread_mutex_lock;
 import pthread_mutex_unlock;
 #endif
+import EnterCriticalSection;
+import LeaveCriticalSection;
 
 /*-----------------------------------------------------------------------------
   Array Primitives