We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 372ac6a commit e42bd8bCopy full SHA for e42bd8b
test/gcext/gcext.c
@@ -600,6 +600,12 @@ int main()
600
jl_gc_set_cb_notify_external_alloc(alloc_bigval, 1);
601
jl_gc_set_cb_notify_external_free(free_bigval, 1);
602
603
+ // single threaded mode
604
+ jl_options.nthreadpools = 1;
605
+ jl_options.nthreads = 1;
606
+ int16_t ntpp[] = {jl_options.nthreads};
607
+ jl_options.nthreads_per_pool = ntpp;
608
+
609
jl_init();
610
if (jl_gc_enable_conservative_gc_support() < 0)
611
abort();
0 commit comments