Hello!

What will happen when a script crashes immediately after locking a file
(exclusively) with Perl's flock() function?

I understand that this will leave the file locked until the owner (or
root) will unlock it manually. Does anybody have any experiences and/or
recommendations or do scripts simply never crash this way?;=)

According to the documentation flock() works platform specific. So this
is my environment: SuSe Linux 7.1 (Kernel 2.4.7), Apache 1.3.19. Perl
5.6. Experiences with other platforms, however, may also be useful.

TIA

Stephan
-- 
Dipl.-Chem. Stephan Tinnemeyer
Lindenallee 20
24105 Kiel
Germany

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to