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

OFF-TOPIC: flock()



Hi,

I know that this message is maybe off topic but I just thought that
there are many people around here that know perl.

I writing a program that uses the flock() command to verify that another
instance of her is not modified the file at the same time she does.
Every thing is working great with this command but I can't find a way to
set the maximum amount of time that the program will wait for her
exclusive lock. I'm afraid that if, for some reason, the file will
remain locked, I'll have a lot of instances of this program waiting for
the lock.

If you have a solution for this problem, please email me. And again, I'm
sorry for being off topic.

Matthew Kosharovksy
koshar@netvision.net.il