7 writes to ownsLock
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (7)
3437
this.instance.ReleaseLock(ref this.
ownsLock
, this.isIdlePolicyPersist && this.tryResult);
3473
if (this.instance.AcquireLockAsync(this.timeoutHelper.RemainingTime(), ref this.
ownsLock
, lockAcquiredCallback, this))
3507
IAsyncResult result = this.instance.BeginWaitForCanPersist(ref this.
ownsLock
, this.timeoutHelper.RemainingTime(),
3548
thisPtr.
ownsLock
= true;
3572
thisPtr.instance.ReleaseLock(ref thisPtr.
ownsLock
, thisPtr.isIdlePolicyPersist && thisPtr.tryResult);
3678
thisPtr.instance.ReleaseLock(ref thisPtr.
ownsLock
, thisPtr.isIdlePolicyPersist && thisPtr.tryResult);
3707
thisPtr.instance.EndWaitForCanPersist(result, ref thisPtr.
ownsLock
);