From: "hsbt (Hiroshi SHIBATA) via ruby-core" Date: 2024-01-04T03:59:49+00:00 Subject: [ruby-core:116005] [Ruby master Bug#20146] Code using Ractor with env `RUBY_MAX_CPU=1` ends with unreachable Issue #20146 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Assigned Assignee set to ko1 (Koichi Sasada) ---------------------------------------- Bug #20146: Code using Ractor with env `RUBY_MAX_CPU=1` ends with unreachable https://bugs.ruby-lang.org/issues/20146#change-105999 * Author: shia (Sangyong Sim) * Status: Assigned * Priority: Normal * Assignee: ko1 (Koichi Sasada) * ruby -v: ruby 3.4.0dev * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ## Reproducible code ```rb # sample-code.rb Ractor.new { 1 } ``` ```bash RUBY_MAX_CPU=1 ruby sample-code.rb # This will not end with exit code 0 RUBY_MAX_CPU=2 ruby sample-code.rb # This ends with exit code 0 as expected ``` ## Expected process with RUBY_MAX_CPU=1 exits successfully as same as RUBY_MAX_CPU more than 1. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/