1 write to slots
System.ServiceModel.Internals (1)
System\Runtime\IOThreadScheduler.cs (1)
97
this.
slots
= new Slot[capacity];
7 references to slots
System.ServiceModel.Internals (7)
System\Runtime\IOThreadScheduler.cs (7)
98
Fx.Assert((this.
slots
.Length & SlotMask) == 0, "Capacity must be a power of two.");
173
bool queued = this.
slots
[slot >> Bits.HiShift & SlotMask].TryEnqueueWorkItem(callback, state, out wrapped);
179
new IOThreadScheduler(Math.Min(this.
slots
.Length * 2, MaximumCapacity), this.slotsLowPri.Length);
237
new IOThreadScheduler(this.
slots
.Length, Math.Min(this.slotsLowPri.Length * 2, MaximumCapacity));
284
this.
slots
[slot & SlotMask].DequeueWorkItem(out callback, out state);
335
this.
slots
[slot & SlotMask].DequeueWorkItem(out callback, out state);
368
return this.
slots
.Length - 1;