Skip to content

Commit 3e85f55

Browse files
run gcext test single threaded
1 parent 372ac6a commit 3e85f55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/gcext/gcext.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,13 @@ int main()
600600
jl_gc_set_cb_notify_external_alloc(alloc_bigval, 1);
601601
jl_gc_set_cb_notify_external_free(free_bigval, 1);
602602

603+
// single threaded mode
604+
// Note: with -t1,1 a signal 10 occurs in task_scanner
605+
jl_options.nthreadpools = 1;
606+
jl_options.nthreads = 1;
607+
int16_t ntpp[] = {jl_options.nthreads};
608+
jl_options.nthreads_per_pool = ntpp;
609+
603610
jl_init();
604611
if (jl_gc_enable_conservative_gc_support() < 0)
605612
abort();

0 commit comments

Comments
 (0)