mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-15 17:30:37 -07:00
We have to inform the library that we want to register threads
This commit is contained in:
parent
6be153a2af
commit
2e3ca61015
1 changed files with 3 additions and 0 deletions
|
|
@ -787,6 +787,9 @@ init_alloc(void)
|
|||
GC_all_interior_pointers = 0;
|
||||
GC_time_limit = GC_TIME_UNLIMITED;
|
||||
GC_init();
|
||||
#ifdef ECL_THREADS
|
||||
GC_allow_register_threads();
|
||||
#endif
|
||||
if (ecl_option_values[ECL_OPT_INCREMENTAL_GC]) {
|
||||
GC_enable_incremental();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue