projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
70b6a84
)
Wonky example in perlthrtut
Alex Davies [Fri, 20 Feb 2009 08:39:29 +0000 (09:39 +0100)]
Fix at least the syntax of the example.
See : Message-ID: <
F00A81D78228413FBED223C3919BE75B
@Amelie>
pod/perlthrtut.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlthrtut.pod
b/pod/perlthrtut.pod
index
e1acf6d
..
822cac4
100644
(file)
--- a/
pod/perlthrtut.pod
+++ b/
pod/perlthrtut.pod
@@
-859,7
+859,7
@@
things we've covered. This program finds prime numbers using threads.
13 }
14 $stream->enqueue(undef);
15
- 16 threads->create(\&check_num, $stream, 2);
+ 16 my $kid = threads->create(\&check_num, $stream, 2);
17 $kid->join();
18
19 sub check_num {