Generic file changes for MYMALLOC
Nick Ing-Simmons [Sun, 16 Nov 1997 23:16:16 +0000 (23:16 +0000)]
p4raw-id: //depot/ansiperl@260

miniperlmain.c

index 27ad541..81e6493 100644 (file)
@@ -25,6 +25,10 @@ char **env;
 {
     int exitstatus;
 
+#ifdef USE_THREADS
+    MUTEX_INIT(&malloc_mutex); 
+#endif
+
     PERL_SYS_INIT(&argc,&argv);
 
     perl_init_i18nl10n(1);