6 instantiations of IOThreadTimer
System.ServiceModel.Internals (6)
System\Runtime\AsyncWaitHandle.cs (1)
267
this.timer = new
IOThreadTimer
(callback, state, false);
System\Runtime\BackoffTimeoutHelper.cs (1)
87
this.backoffTimer = new
IOThreadTimer
(callback, state, false, BackoffTimeoutHelper.maxSkewMilliseconds);
System\Runtime\Collections\ObjectCache.cs (1)
187
this.idleTimer = new
IOThreadTimer
(onIdle, this, false);
System\Runtime\InputQueue.cs (2)
815
this.timer = new
IOThreadTimer
(timerCallback, this, false);
873
this.timer = new
IOThreadTimer
(timerCallback, this, false);
System\Runtime\IOThreadCancellationTokenSource.cs (1)
43
this.timer = new
IOThreadTimer
(onCancel, this, true);
34 references to IOThreadTimer
System.ServiceModel.Internals (34)
System\Runtime\AsyncWaitHandle.cs (1)
220
IOThreadTimer
timer;
System\Runtime\BackoffTimeoutHelper.cs (3)
12
readonly static int maxSkewMilliseconds = (int)(
IOThreadTimer
.SystemTimeResolutionTicks / TimeSpan.TicksPerMillisecond);
13
readonly static long maxDriftTicks =
IOThreadTimer
.SystemTimeResolutionTicks * 2;
20
IOThreadTimer
backoffTimer;
System\Runtime\Collections\ObjectCache.cs (1)
28
IOThreadTimer
idleTimer;
System\Runtime\InputQueue.cs (2)
803
IOThreadTimer
timer;
867
IOThreadTimer
timer;
System\Runtime\IOThreadCancellationTokenSource.cs (1)
16
IOThreadTimer
timer;
System\Runtime\IOThreadTimer.cs (26)
65
if (
IOThreadTimer
.systemTimeResolutionTicks == -1)
67
IOThreadTimer
.systemTimeResolutionTicks = GetSystemTimeResolution();
69
return
IOThreadTimer
.systemTimeResolutionTicks;
118
[Fx.Tag.Queue(typeof(
IOThreadTimer
), Scope = Fx.Tag.Strings.AppDomain, StaleElementsRemovedImmediately = true)]
165
public void Set(
IOThreadTimer
timer, long dueTime)
203
public bool Cancel(
IOThreadTimer
timer)
307
IOThreadTimer
timer = timerQueue.MinTimer;
339
IOThreadTimer
minTimer = timerGroup.TimerQueue.MinTimer;
383
IOThreadTimer
[] timers;
387
this.timers = new
IOThreadTimer
[4];
395
public
IOThreadTimer
MinTimer
405
IOThreadTimer
minTimer = this.MinTimer;
410
public void DeleteTimer(
IOThreadTimer
timer)
417
IOThreadTimer
[] timers = this.timers;
425
IOThreadTimer
parentTimer = timers[parentIndex];
443
public bool InsertTimer(
IOThreadTimer
timer, long dueTime)
447
IOThreadTimer
[] timers = this.timers;
453
timers = new
IOThreadTimer
[timers.Length * 2];
471
IOThreadTimer
parent = timers[parentIndex];
491
public bool UpdateTimer(
IOThreadTimer
timer, long dueTime)
495
IOThreadTimer
[] timers = this.timers;
535
IOThreadTimer
[] timers = this.timers;
536
IOThreadTimer
lastTimer = timers[count];
550
IOThreadTimer
child;
554
IOThreadTimer
leftChild = timers[leftChildIndex];
556
IOThreadTimer
rightChild = timers[rightChildIndex];