[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] Differences to expect when using flock() on different OS and Filesystems.



> A co-worker cast a vague warning that the flock() implementation varies
> widely based on the OS and filesystem it's working on.  I Googled quite a
> bit last night and I can't find any specific examples of other warnings
> (and work-arounds).

The underlying implementation of Perl's flock() may differ widely based on OS (maybe flock(), lockf(), or fcntl()) but I'd think that Larry and co. would be careful enough to make sure the Perl version works everywhere.  One huge advantage of Perl disappears if you can't abstract away those OS differences.


Tim

--
      Tim Larson        AMT2 Unix Systems Administrator
          InterCall, a division of West Corporation

Be always sure you are right, then go ahead. - David Crockett