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