1 write to _slots
System.ServiceModel.Primitives (1)
Internals\System\Runtime\IOThreadScheduler.cs (1)
82
_slots
= new Slot[capacity];
9 references to _slots
System.ServiceModel.Primitives (9)
Internals\System\Runtime\IOThreadScheduler.cs (9)
83
Contract.Assert((
_slots
.Length & SlotMask) == 0, "Capacity must be a power of two.");
158
bool queued =
_slots
[slot >> Bits.HiShift & SlotMask].TryEnqueueWorkItem(callback, state, out bool wrapped);
164
new IOThreadScheduler(Math.Min(
_slots
.Length * 2, MaximumCapacity));
191
_slots
[slot & SlotMask].DequeueWorkItem(out callback, out state);
212
_slots
[slot & SlotMask].DequeueWorkItem(out callback, out state);
230
return
_slots
.Length - 1;
261
if (
_slots
!= null)
267
for (int i = 0; i <
_slots
.Length; i++)
269
_slots
[i].DebugVerifyEmpty();