From 5467331d9c585bbf2e68dcfef9041d4f4554d39d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Tue, 7 Aug 2007 08:55:34 +0000 Subject: (main) [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: Call malloc_enable_thread on interactive startup. --- src/emacs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/emacs.c') diff --git a/src/emacs.c b/src/emacs.c index 6c7773770d..d67c97a5f6 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1163,6 +1163,13 @@ main (argc, argv #if defined (USG5) && defined (INTERRUPT_INPUT) 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 } -- cgit v1.2.3