There is an edge case as follows:
process A takes lock
process B waits on lock
process A completed work
process B takes lock
process A tabes lock (this is without process B freeing the lock)
This is reproduced very easily:
ensure that the lock_pack directory does not exist
Each time a lock is freed the directory is deleted ...
There is an edge case as follows:
process A takes lock
process B waits on lock
process A completed work
process B takes lock
process A tabes lock (this is without process B freeing the lock)
This is reproduced very easily:
ensure that the lock_pack directory does not exist
Each time a lock is freed the directory is deleted ...