85 references to TimerThread
System (85)
net\System\Net\_AutoWebProxyScriptWrapper.cs (9)
609TimerThread.GetOrCreateQueue(0).CreateTimer(new TimerThread.Callback(CloseAppDomainCallback), excessAppDomain); 650TimerThread.GetOrCreateQueue(0).CreateTimer(new TimerThread.Callback(CloseAppDomainCallback), s_ExcessAppDomain); 670TimerThread.GetOrCreateQueue(0).CreateTimer(new TimerThread.Callback(CloseAppDomainCallback), appDomainIndex); 688TimerThread.GetOrCreateQueue(0).CreateTimer(new TimerThread.Callback(CloseAppDomainCallback), appDomainIndex); 693private static void CloseAppDomainCallback(TimerThread.Timer timer, int timeNoticed, object context)
net\System\Net\_Connection.cs (1)
294private TimerThread.Timer m_RecycleTimer;
net\System\Net\_ConnectionGroup.cs (2)
34private TimerThread.Timer m_ExpiringTimer; 194TimerThread.Timer timer = m_ExpiringTimer;
net\System\Net\_TimerThread.cs (1)
328TimerThread.Prod();
net\System\Net\connectionpool.cs (12)
34private static TimerThread.Callback s_CleanupCallback = new TimerThread.Callback(CleanupCallbackWrapper); 35private static TimerThread.Callback s_CancelErrorCallback = new TimerThread.Callback(CancelErrorCallbackWrapper); 36private static TimerThread.Queue s_CancelErrorQueue = TimerThread.GetOrCreateQueue(ErrorWait); 52private readonly TimerThread.Queue m_CleanupQueue; 64private TimerThread.Timer m_ErrorTimer; 111m_CleanupQueue = TimerThread.GetOrCreateQueue(idleTimeout == 1 ? 1 : (idleTimeout / 2)); 256private static void CleanupCallbackWrapper(TimerThread.Timer timer, int timeNoticed, object context) 446private static void CancelErrorCallbackWrapper(TimerThread.Timer timer, int timeNoticed, object context) 456TimerThread.Timer timer = m_ErrorTimer;
net\System\Net\FtpWebRequest.cs (9)
221private TimerThread.Queue m_TimerQueue = s_DefaultTimerQueue; 222private TimerThread.Callback m_TimerCallback; 244private static readonly TimerThread.Queue s_DefaultTimerQueue = TimerThread.GetOrCreateQueue(s_DefaultTimeout); 524m_TimerCallback = new TimerThread.Callback(TimerCallback); 1185TimerThread.Timer timer = TimerQueue.CreateTimer(m_TimerCallback, null); 1223private void TimerCallback(TimerThread.Timer timer, int timeNoticed, object context) { 1232private TimerThread.Queue TimerQueue { 1235m_TimerQueue = TimerThread.GetOrCreateQueue(RemainingTimeout);
net\System\Net\HttpWebRequest.cs (20)
129private static readonly TimerThread.Callback s_ContinueTimeoutCallback = new TimerThread.Callback(ContinueTimeoutCallback); 130private static readonly TimerThread.Queue s_ContinueTimerQueue = TimerThread.GetOrCreateQueue(DefaultContinueTimeout); 131private static readonly TimerThread.Callback s_TimeoutCallback = new TimerThread.Callback(TimeoutCallback); 139private TimerThread.Timer m_ContinueTimer; 143private TimerThread.Queue m_ContinueTimerQueue; 253private TimerThread.Timer _Timer; 258private TimerThread.Queue _TimerQueue; 321internal TimerThread.Timer RequestTimer 1035private TimerThread.Queue TimerQueue 1039TimerThread.Queue queue = _TimerQueue; 1042queue = TimerThread.GetOrCreateQueue(_Timeout == 0 ? 1 : _Timeout); 1095private TimerThread.Queue ContinueTimerQueue { 1098m_ContinueTimerQueue = TimerThread.GetOrCreateQueue(m_ContinueTimeout == 0 ? 1 : m_ContinueTimeout); 3244TimerThread.Timer timer = _Timer; 3253private static void TimeoutCallback(TimerThread.Timer timer, int timeNoticed, object context) 4459private static void ContinueTimeoutCallback(TimerThread.Timer timer, int timeNoticed, object context) 4527TimerThread.Timer timer = m_ContinueTimer;
net\System\Net\NetWebProxyFinder.cs (6)
24private static TimerThread.Queue timerQueue; 25private static readonly TimerThread.Callback timerCallback = new TimerThread.Callback(RequestTimeoutCallback); 220TimerThread.Timer timer = null; 278timerQueue = TimerThread.GetOrCreateQueue(SettingsSectionInternal.Section.DownloadTimeout); 540private static void RequestTimeoutCallback(TimerThread.Timer timer, int timeNoticed, object context)
net\System\Net\ServicePoint.cs (15)
37private TimerThread.Queue m_ConnectionLeaseTimerQueue; 52private TimerThread.Queue m_IdlingQueue; 53private TimerThread.Timer m_ExpiringTimer; 63private readonly TimerThread.Callback m_IdleConnectionGroupTimeoutDelegate; 107internal ServicePoint(Uri address, TimerThread.Queue defaultIdlingQueue, int defaultConnectionLimit, string lookupString, bool userChangedLimit, bool proxyServicePoint) { 138m_IdleConnectionGroupTimeoutDelegate = new TimerThread.Callback(IdleConnectionGroupTimeoutCallback); 143internal ServicePoint(string host, int port, TimerThread.Queue defaultIdlingQueue, int defaultConnectionLimit, string lookupString, bool userChangedLimit, bool proxyServicePoint) { 164m_IdleConnectionGroupTimeoutDelegate = new TimerThread.Callback(IdleConnectionGroupTimeoutCallback); 441internal TimerThread.Queue ConnectionLeaseTimerQueue { 443TimerThread.Queue queue = m_ConnectionLeaseTimerQueue; 445queue = TimerThread.GetOrCreateQueue(ConnectionLeaseTimeout); 520m_IdlingQueue = TimerThread.GetOrCreateQueue(value); 527m_ExpiringTimer = TimerThread.CreateQueue(timeLeft).CreateTimer(ServicePointManager.IdleServicePointTimeoutDelegate, this); 1113private void IdleConnectionGroupTimeoutCallback(TimerThread.Timer timer, int timeNoticed, object context) { 1122internal TimerThread.Timer CreateConnectionGroupTimer(ConnectionGroup connectionGroup) {
net\System\Net\ServicePointManager.cs (7)
52internal static readonly TimerThread.Callback s_IdleServicePointTimeoutDelegate = new TimerThread.Callback(IdleServicePointTimeoutCallback); 67private static volatile TimerThread.Queue s_ServicePointIdlingQueue = TimerThread.GetOrCreateQueue(100 * 1000); 222internal static TimerThread.Callback IdleServicePointTimeoutDelegate 230private static void IdleServicePointTimeoutCallback(TimerThread.Timer timer, int timeNoticed, object context) 443s_ServicePointIdlingQueue = TimerThread.GetOrCreateQueue(value);
net\System\Net\WebRequest.cs (3)
50private static TimerThread.Queue s_DefaultTimerQueue = TimerThread.CreateQueue(DefaultTimeout); 90internal static TimerThread.Queue DefaultTimerQueue {