To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 47
46  |  48
Subject: 
flock() and <FH> in Perl
Newsgroups: 
lugnet.off-topic.geek
Date: 
Thu, 20 May 1999 18:27:19 GMT
Reply-To: 
jsproat@/nospam/geocities.com
Viewed: 
128 times
  
Probably a dumb question, but I can't find the answer at the moment...

I *think* I read somewhere that a flock()'ed file handle, e.g. FH, shouldn't
be
accessed using the <FH> operator.  Is this something to worry about?

Also, can I use a FileHandle object in a call to flock()?

Cheers,
- jsproat

--
Jeremy H. Sproat <jsproat@geocities.com>
http://www.geocities.com/SiliconValley/Horizon/5249/
May the Force be with y'all.



Message has 1 Reply:
  Re: flock() and <FH> in Perl
 
(...) That doesn't sound right. You should be able to read a file using <FH> whether you've flocked it with LOCK_SH or LOCK_EX. Do you remember where you might've heard that, or whether it might've been an OS-specific warning? (...) Hmm...what's a (...) (25 years ago, 24-May-99, to lugnet.off-topic.geek)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR