summaryrefslogtreecommitdiff
path: root/pod/perlthrtut.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-19 07:41:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-19 07:41:46 +0000
commit85add8c20c52762eef70f97d016f6b677c9a4612 (patch)
tree8a66d94b92a464d43995e519c570444959d4680c /pod/perlthrtut.pod
parent2a4bf7730d252fcadf5e50c3a9c740b5c94acfe3 (diff)
downloadperl-85add8c20c52762eef70f97d016f6b677c9a4612.tar.gz
pod typo fixes (from Marcel Grunauer <marcel.grunauer@lovely.net>)
p4raw-id: //depot/perl@5823
Diffstat (limited to 'pod/perlthrtut.pod')
-rw-r--r--pod/perlthrtut.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlthrtut.pod b/pod/perlthrtut.pod
index 0314d9da6c..0f15d57de7 100644
--- a/pod/perlthrtut.pod
+++ b/pod/perlthrtut.pod
@@ -397,7 +397,7 @@ to get them.
=head2 Ignoring A Thread
-join() does three things:it waits for a thread to exit, cleans up
+join() does three things: it waits for a thread to exit, cleans up
after it, and returns any data the thread may have produced. But what
if you're not interested in the thread's return values, and you don't
really care when the thread finishes? All you want is for the thread
@@ -443,10 +443,10 @@ more than one thread can be accessing this data at once.
Perl's scoping rules don't change because you're using threads. If a
subroutine (or block, in the case of async()) could see a variable if
you weren't running with threads, it can see it if you are. This is
-especially important for the subroutines that create, and makes my
+especially important for the subroutines that create, and makes C<my>
variables even more important. Remember--if your variables aren't
-lexically scoped (declared with C<my>) you're probably sharing it between
-threads.
+lexically scoped (declared with C<my>) you're probably sharing them
+between threads.
=head2 Thread Pitfall: Races