X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlopentut.pod;h=b158480935db76c7cadd21e949d14f42517ff2a7;hb=888aee597441568824c1835285c8012bab253529;hp=a1d3955930c39241045ff42add79b8eb9822f0e7;hpb=5a7beb56c5db2ec34282658c69d8ac3da98cdd0e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlopentut.pod b/pod/perlopentut.pod index a1d3955..b158480 100644 --- a/pod/perlopentut.pod +++ b/pod/perlopentut.pod @@ -765,7 +765,7 @@ uses locking and another doesn't, all bets are off. By default, the C call will block until a lock is granted. A request for a shared lock will be granted as soon as there is no -exclusive locker. A request for a exclusive lock will be granted as +exclusive locker. A request for an exclusive lock will be granted as soon as there is no locker of any kind. Locks are on file descriptors, not file names. You can't lock a file until you open it, and you can't hold on to a lock once the file has been closed.