4 references to SlotMask
System.ServiceModel.Primitives (4)
Internals\System\Runtime\IOThreadScheduler.cs (4)
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);
191
_slots[slot &
SlotMask
].DequeueWorkItem(out callback, out state);
212
_slots[slot &
SlotMask
].DequeueWorkItem(out callback, out state);