changeset 82307:3a38f5a481f0

(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:55:34 +0000
parents 42ad26e14a99
children 7856255721ef
files src/emacs.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Aug 07 03:32:24 2007 +0000
+++ b/src/emacs.c	Tue Aug 07 08:55:34 2007 +0000
@@ -1164,6 +1164,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 ();