File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -1175,14 +1175,19 @@ X<|$*SPEC>X<|$*TMPDIR>X<|$*THREAD>X<|$*SCHEDULER>
1175
1175
$*THREAD | A L < Thread > object representing the currently executing thread.
1176
1176
------------------+--------------------------------------------
1177
1177
$*SCHEDULER | A L < ThreadPoolScheduler > object representing the current default
1178
- | scheduler.
1179
- | Note on usage: For the current Rakudo, by default this imposes a
1180
- | maximum of 16 threads on the methods C < .hyper > and C < .race > . To change
1181
- | the maximum number of threads, either set the environment variable
1182
- | RAKUDO_MAX_THREADS before running perl6 or create a scoped copy
1183
- | with the default changed before using C < .hyper > or C < .race > :
1184
- | my $*SCHEDULER = ThreadPoolScheduler.new( max_threads => 64 );
1185
- | This behavior is not tested in the spec tests and is subject to change.
1178
+ | scheduler. (see note below)
1186
1179
------------------+--------------------------------------------
1187
1180
= end table
1181
+
1182
+ Note on usage of $*SCHEDULER:
1183
+
1184
+ For the current Rakudo, by default this imposes a maximum of 16 threads on the methods
1185
+ C < .hyper > and C < .race > . To change the maximum number of threads, either set the
1186
+ environment variable RAKUDO_MAX_THREADS before running perl6 or create a scoped copy
1187
+ with the default changed before using C < .hyper > or C < .race > :
1188
+
1189
+ my $*SCHEDULER = ThreadPoolScheduler.new( max_threads => 64 );
1190
+
1191
+ This behavior is not tested in the spec tests and is subject to change.
1192
+
1188
1193
= end pod
You can’t perform that action at this time.
0 commit comments