summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2002-06-05 18:49:10 +0000
committerArtur Bergman <sky@nanisky.com>2002-06-05 18:49:10 +0000
commit03730085c2dd1dad3746025cc5ceff001a15589c (patch)
tree6d8c507fb7dba27b091c5cd1ba1ceea83871a85d /pod
parent67408caed70eed949797d2c8d6a752d0b53c070b (diff)
downloadperl-03730085c2dd1dad3746025cc5ceff001a15589c.tar.gz
Update text slightly and update links to threads.pm instead of Thread.pm
p4raw-id: //depot/perl@17018
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod9
1 files changed, 4 insertions, 5 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 3d6f30192e..2708571b13 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2469,14 +2469,13 @@ and the month of the year, may not necessarily be three characters wide.
=item lock THING
-This function places an advisory lock on a variable, subroutine,
-or referenced object contained in I<THING> until the lock goes out
-of scope.
+This function places an advisory lock on a shared variable, or referenced
+object contained in I<THING> until the lock goes out of scope.
lock() is a "weak keyword" : this means that if you've defined a function
by this name (before any calls to it), that function will be called
-instead. (However, if you've said C<use Thread>, lock() is always a
-keyword.) See L<Thread>.
+instead. (However, if you've said C<use threads>, lock() is always a
+keyword.) See L<threads>.
=item log EXPR