curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Kim <ohech...@gmail.com>
Subject Re: Determining if a lock exists
Date Thu, 12 Sep 2013 00:49:08 GMT
Not sure if there's a better way but I do something like this:

!mutex.getParticipantNodes.isEmpty


On Wed, Sep 11, 2013 at 5:37 PM, Josh Stone <pacesysjosh@gmail.com> wrote:

> Is there a way to determine if an inter-process lock currently exists for
> some path, or is there maybe some alternative solution I might look at to
> learn if some record representing a lock already exists?
>
> Thanks,
> Josh
>

Mime
View raw message