[DOC] man: Add environment variable RUBY_MAX_CPU and RUBY_MN_THREADS

This commit is contained in:
Nobuyoshi Nakada 2024-06-03 23:05:47 +09:00
parent 2192b0eaa0
commit fa8984df2e
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -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