wingo pushed a commit to branch wip-whippet
in repository guile.

commit a6e34c3594c5abb615764131798885c8715bf377
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Mon Oct 16 21:36:27 2023 +0200

    Don't abort semi if parallelism > 1
    
    Re-interpret parallelism option as a maximum.
---
 src/semi.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/semi.c b/src/semi.c
index 247734788..7097b2d49 100644
--- a/src/semi.c
+++ b/src/semi.c
@@ -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");
     return 0;
   }
-  if (options->common.parallelism != 1) {
-    fprintf(stderr, "parallelism unimplemented in semispace copying 
collector\n");
-    return 0;
-  }
+  if (options->common.parallelism != 1)
+    fprintf(stderr, "warning: parallelism unimplemented in semispace copying 
collector\n");
 
   *mut = calloc(1, sizeof(struct gc_mutator));
   if (!*mut) GC_CRASH();

Reply via email to