curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: InterProcessMutex doesn't detect deletion of lock file
Date Tue, 20 Jan 2015 16:22:45 GMT

Does the InterProcessMutex set a watch on the lock file it creates?  If not, why not?
It does not. It doesn’t because it’s extra overhead that isn’t needed. Watchers are
not free. That said, if you want to be able to revoke a lock from another process, InterProcessMutex
has the makeRevocable() method and the RevocationListener.



-Jordan


Mime
View raw message