Skip to content

Commit a42c74b

Browse files
committed
Re-de-confuse Thread start/run.
1 parent c45281d commit a42c74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S17-concurrency.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ It is also possible to create a thread object, and set it running later:
657657
say "A thread, you say?";
658658
});
659659
# later...
660-
$thread.start();
660+
$thread.run();
661661

662662
Both approaches result in C<$thread> containing a C<Thread> object. At some
663663
point, C<join> should be called on the thread, from the thread that started

0 commit comments

Comments
 (0)