diff options
| author | YAMAMOTO Mitsuharu | 2007-08-07 08:57:06 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-08-07 08:57:06 +0000 |
| commit | 80ef6d1c91db0a50b7b0ac522ac97d6f5f295867 (patch) | |
| tree | 7b57867aeacea0e57ea57b22f279f923987d6856 /src | |
| parent | a460c94c17df42cdb7116453f070ed2093b75c4d (diff) | |
| download | emacs-80ef6d1c91db0a50b7b0ac522ac97d6f5f295867.tar.gz emacs-80ef6d1c91db0a50b7b0ac522ac97d6f5f295867.zip | |
(main) [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Call malloc_enable_thread on interactive startup.
Diffstat (limited to 'src')
| -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 f70588634d9..b356faa68ae 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1158,6 +1158,13 @@ main (argc, argv | |||
| 1158 | setpgrp (); | 1158 | setpgrp (); |
| 1159 | #endif | 1159 | #endif |
| 1160 | #endif | 1160 | #endif |
| 1161 | #if defined (HAVE_GTK_AND_PTHREAD) && !defined (SYSTEM_MALLOC) && !defined (DOUG_LEA_MALLOC) | ||
| 1162 | { | ||
| 1163 | extern void malloc_enable_thread P_ ((void)); | ||
| 1164 | |||
| 1165 | malloc_enable_thread (); | ||
| 1166 | } | ||
| 1167 | #endif | ||
| 1161 | } | 1168 | } |
| 1162 | 1169 | ||
| 1163 | init_signals (); | 1170 | init_signals (); |