diff options
author | YAMAMOTO Mitsuharu <[email protected]> | 2007-08-07 08:55:34 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <[email protected]> | 2007-08-07 08:55:34 +0000 |
commit | 5467331d9c585bbf2e68dcfef9041d4f4554d39d (patch) | |
tree | 6062c95cb8f8bb49f1f916fe6f924ddca3aa1c94 /src/emacs.c | |
parent | ebaac04d9128601085877463143b29a5934dec69 (diff) |
(main) [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Call malloc_enable_thread on interactive startup.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 6c7773770d..d67c97a5f6 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1164,6 +1164,13 @@ main (argc, argv 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 (); |