Hi,
I''m using flock() extensively, but from time to time I run into
problems.
flock either hangs forever or returns -EAGAIN when called with LOCK_NB,
despite the file is not in use by others processes.
It seems an flock() unlock was lost somehow.
Any ideas on how to debug this ?
Thanks
/Jakob