mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
Enable handle fork by GC
This commit is contained in:
parent
c402748333
commit
fa9221ae6b
1 changed files with 2 additions and 0 deletions
|
|
@ -760,10 +760,12 @@ init_alloc(void)
|
|||
* the begining or to the first byte.
|
||||
* 3) Out of the incremental garbage collector, we only use the
|
||||
* generational component.
|
||||
* 4) GC should handle fork() which is used to run subprocess.
|
||||
*/
|
||||
GC_set_no_dls(1);
|
||||
GC_set_all_interior_pointers(0);
|
||||
GC_set_time_limit(GC_TIME_UNLIMITED);
|
||||
GC_set_handle_fork(1);
|
||||
GC_init();
|
||||
#ifdef ECL_THREADS
|
||||
# if GC_VERSION_MAJOR > 7 || GC_VERSION_MINOR > 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue