changeset 78436:34b7a05ac98e

(main) [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: Call malloc_enable_thread on interactive startup.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 07 Aug 2007 08:57:06 +0000
parents adc16e5bfb60
children 77430fdfce38
files src/emacs.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Aug 07 04:23:50 2007 +0000
+++ b/src/emacs.c	Tue Aug 07 08:57:06 2007 +0000
@@ -1158,6 +1158,13 @@
       setpgrp ();
 #endif
 #endif
+#if defined (HAVE_GTK_AND_PTHREAD) && !defined (SYSTEM_MALLOC) && !defined (DOUG_LEA_MALLOC)
+      {
+	extern void malloc_enable_thread P_ ((void));
+
+	malloc_enable_thread ();
+      }
+#endif
     }
 
   init_signals ();