3 instantiations of InstanceLock
System.Workflow.Runtime (3)
Lock.cs (3)
27return new InstanceLock(id, "Workflow Executor Lock: " + id.ToString(), 50, LockPriorityOperator.GreaterThanOrReentrant); 32return new InstanceLock(id, "Workflow Scheduler Lock: " + id.ToString(), 40, LockPriorityOperator.GreaterThan); 37return new InstanceLock(id, "Workflow Message Delivery Lock: " + id.ToString(), 35, LockPriorityOperator.GreaterThanOrReentrant);
35 references to InstanceLock
System.Workflow.Runtime (35)
Lock.cs (18)
25internal static InstanceLock CreateWorkflowExecutorLock(Guid id) 30internal static InstanceLock CreateWorkflowSchedulerLock(Guid id) 35internal static InstanceLock CreateWorkflowMessageDeliveryLock(Guid id) 52private static List<InstanceLock> t_heldLocks = null; 63internal static void AssertIsLocked(InstanceLock theLock) 70private static List<InstanceLock> HeldLocks 74List<InstanceLock> tLocks = InstanceLock.t_heldLocks; 77InstanceLock.t_heldLocks = new List<InstanceLock>(); 78tLocks = InstanceLock.t_heldLocks; 168readonly InstanceLock m_lock; 170internal static void EnforceGuard(InstanceLock theLock) 172foreach (InstanceLock heldLock in HeldLocks) 194internal InstanceLockGuard(InstanceLock theLock) 256private InstanceLock.InstanceLockGuard lg; 259internal SchedulerLockGuard(InstanceLock il, WorkflowExecutor w) 302internal static void Exit(InstanceLock il, WorkflowExecutor w)
WorkflowExecutor.cs (17)
78private InstanceLock _executorLock; 79private InstanceLock _msgDeliveryLock; 80private InstanceLock _schedulerLock; 413InstanceLock.AssertIsLocked(this._schedulerLock); 414InstanceLock.AssertIsLocked(this._msgDeliveryLock); 428using (InstanceLock.InstanceLockGuard messageDeliveryLockGuard = this.MessageDeliveryLock.Enter()) 523internal InstanceLock MessageDeliveryLock 531internal InstanceLock ExecutorLock 772InstanceLock.AssertIsLocked(this._schedulerLock); 999InstanceLock.AssertIsLocked(this._schedulerLock); 1281using (InstanceLock.InstanceLockGuard messageDeliveryLockGuard = this.MessageDeliveryLock.Enter()) 1512InstanceLock.AssertIsLocked(this._schedulerLock); 1662InstanceLock.AssertIsLocked(this._schedulerLock); 1799InstanceLock.AssertIsLocked(this._schedulerLock); 1800InstanceLock.AssertIsLocked(this._msgDeliveryLock); 1913InstanceLock.AssertIsLocked(this._schedulerLock); 2024InstanceLock.AssertIsLocked(this._schedulerLock);