[Memphis.pm] Flock

Mike Hopkins mikehopkins_98 at yahoo.com
Tue Oct 3 22:33:35 CDT 2000


Can any one tell me what happens if I use flock( $file,2 ) for an exclusive file lock and my cgi program crashes 
before I can do the flock( $file, 8 ) thing.  I feel linux is smart enough to tell the file should be unlocked if the script that
locked it crashes.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/memphis-pm/attachments/20001003/6dfd4f96/attachment.htm


More information about the Memphis-pm mailing list