We have to inform the library that we want to register threads

This commit is contained in:
Juan Jose Garcia Ripoll 2012-10-30 22:50:12 +01:00
parent 6be153a2af
commit 2e3ca61015

View file

@ -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();
}