mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-15 10:10:21 +02:00
Don't abort semi if parallelism > 1
Re-interpret parallelism option as a maximum.
This commit is contained in:
parent
44a4e1c131
commit
a6e34c3594
1 changed files with 2 additions and 4 deletions
|
@ -578,10 +578,8 @@ int gc_init(const struct gc_options *options, struct gc_stack_addr *stack_base,
|
||||||
fprintf(stderr, "adaptive heap size is currently unimplemented\n");
|
fprintf(stderr, "adaptive heap size is currently unimplemented\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (options->common.parallelism != 1) {
|
if (options->common.parallelism != 1)
|
||||||
fprintf(stderr, "parallelism unimplemented in semispace copying collector\n");
|
fprintf(stderr, "warning: parallelism unimplemented in semispace copying collector\n");
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
*mut = calloc(1, sizeof(struct gc_mutator));
|
*mut = calloc(1, sizeof(struct gc_mutator));
|
||||||
if (!*mut) GC_CRASH();
|
if (!*mut) GC_CRASH();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue