summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-06-03 23:05:47 +0900
committerNobuyoshi Nakada <[email protected]>2024-06-03 23:10:05 +0900
commitfa8984df2ed737d7e4713bf60816f4ac50326b34 (patch)
tree54de81b71a409924c9e21505930180cb0d613935 /man
parent2192b0eaa06e07d7903d8c9f7debed36d4a46c84 (diff)
[DOC] man: Add environment variable RUBY_MAX_CPU and RUBY_MN_THREADS
Diffstat (limited to 'man')
-rw-r--r--man/ruby.110
1 files changed, 10 insertions, 0 deletions
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