diff options
| author | YAMAMOTO Mitsuharu | 2007-08-07 08:55:34 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-08-07 08:55:34 +0000 |
| commit | 5467331d9c585bbf2e68dcfef9041d4f4554d39d (patch) | |
| tree | 6062c95cb8f8bb49f1f916fe6f924ddca3aa1c94 /src | |
| parent | ebaac04d9128601085877463143b29a5934dec69 (diff) | |
| download | emacs-5467331d9c585bbf2e68dcfef9041d4f4554d39d.tar.gz emacs-5467331d9c585bbf2e68dcfef9041d4f4554d39d.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 6c7773770d7..d67c97a5f6e 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1164,6 +1164,13 @@ main (argc, argv | |||
| 1164 | setpgrp (); | 1164 | setpgrp (); |
| 1165 | #endif | 1165 | #endif |
| 1166 | #endif | 1166 | #endif |
| 1167 | #if defined (HAVE_GTK_AND_PTHREAD) && !defined (SYSTEM_MALLOC) && !defined (DOUG_LEA_MALLOC) | ||
| 1168 | { | ||
| 1169 | extern void malloc_enable_thread P_ ((void)); | ||
| 1170 | |||
| 1171 | malloc_enable_thread (); | ||
| 1172 | } | ||
| 1173 | #endif | ||
| 1167 | } | 1174 | } |
| 1168 | 1175 | ||
| 1169 | init_signals (); | 1176 | init_signals (); |