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