public override void Run() { try { ResourceLatch.await(); LocksClient.acquireShared( LockTracer.NONE, ResourceType, Id ); ResourceReleaseLatch.Signal(); LocksClient.close(); } catch ( Exception e ) { throw new Exception( e ); } }
public override void Run() { LocksClient.acquireExclusive( LockTracer.NONE, ResourceType, Id ); LocksClient.close(); }