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

Larson, Timothy E. TELarson at west.com
Tue Apr 21 07:14:51 PDT 2009


> 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



More information about the Omaha-pm mailing list