On 03/18/2012 06:59 PM, Christian GrĂ¼n wrote:
Currently, there is no mechanism yet to detect orphaned pin files, as the first tests I did with channel().lock() etc. haven't been that successful, or too slow.
Hmm.
According to the docs, java.nio.channels.FileLock should be implemented on UNIXlike operating systems with flock() or fcntl(), both of which are widely used, fast and reliable. I don't know how the Windows version would be implemented, but I'm quite curious about the result of your tests.