From fa8984df2ed737d7e4713bf60816f4ac50326b34 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 3 Jun 2024 23:05:47 +0900 Subject: [PATCH] [DOC] man: Add environment variable RUBY_MAX_CPU and RUBY_MN_THREADS --- man/ruby.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man/ruby.1 b/man/ruby.1 index 556fddc4f7..fe4bb15f6e 100644 --- a/man/ruby.1 +++ b/man/ruby.1 @@ -525,6 +525,16 @@ Introduced in Ruby 3.3, default: unset. The custom default buffer size of .Li IO::Buffer . .Pp +.It Ev RUBY_MAX_CPU +The maximum number of native threads used by M:N Threads scheduler +Introduced in Ruby 3.3, default: 8. +.Pp +.It Ev RUBY_MN_THREADS +If set to +.Li 1 , +M:N Thread scheduler is enabled on the main Ractor. +Introduced in Ruby 3.3, default: unset. +.Pp .It Ev PATH Ruby refers to the .Ev PATH