Doc adjustment about lock(), by Daniel Frederick Crisman
authorRafael Garcia-Suarez <rgs@consttype.org>
Mon, 15 Feb 2010 23:00:32 +0000 (00:00 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Mon, 15 Feb 2010 23:00:32 +0000 (00:00 +0100)
pod/perlfunc.pod

index 18787fe..d4a0ca2 100644 (file)
@@ -2850,8 +2850,8 @@ 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 threads>, lock() is always a
-keyword.) See L<threads>.
+instead.  If you are not under C<use threads::shared> this does nothing.
+See L<threads::shared>.
 
 =item log EXPR
 X<log> X<logarithm> X<e> X<ln> X<base>