129 references to Sleep
mscorlib (10)
system\collections\hashtable.cs (1)
691
Thread.
Sleep
(1); // 1 means we are yeilding control to all threads, including low-priority ones.
system\diagnostics\eventing\eventsource.cs (1)
3124
Thread.
Sleep
(15);
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1011
Thread.
Sleep
(0); // Give up my quantum.
system\threading\ManualResetEventSlim.cs (2)
608
Thread.
Sleep
(1);
612
Thread.
Sleep
(0);
system\threading\SpinLock.cs (2)
461
Thread.
Sleep
(1);
465
Thread.
Sleep
(0);
system\threading\SpinWait.cs (2)
146
Thread.
Sleep
(1);
150
Thread.
Sleep
(0);
system\threading\thread.cs (1)
734
Sleep
((int)tm);
PresentationCore (6)
Core\CSharp\System\Windows\Clipboard.cs (6)
85
Thread.
Sleep
(OleRetryDelay);
178
Thread.
Sleep
(OleRetryDelay);
448
Thread.
Sleep
(OleRetryDelay);
595
Thread.
Sleep
(OleRetryDelay);
604
Thread.
Sleep
(OleFlushDelay);
785
Thread.
Sleep
(OleRetryDelay);
System (11)
compmod\microsoft\win32\SystemEvents.cs (1)
1574
Thread.
Sleep
(1);
compmod\system\diagnostics\DiagnosticsConfiguration.cs (1)
119
System.Threading.Thread.
Sleep
(200);
net\System\Net\_TimerThread.cs (1)
743
Thread.
Sleep
(1000);
net\System\Net\connectionpool.cs (1)
205
Thread.
Sleep
(500);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (2)
992
System.Threading.Thread.
Sleep
(waitSleep);
1255
System.Threading.Thread.
Sleep
(waitSleep);
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
644
Thread.
Sleep
(1);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (2)
531
Thread.
Sleep
(1);
1607
System.Threading.Thread.
Sleep
(waitSleep);
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
156
Thread.
Sleep
(0);
sys\system\runtime\interopservices\handlecollector.cs (1)
88
Thread.
Sleep
(10*gen_collect);
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
222
Thread.
Sleep
(50);
System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (3)
36
Thread.
Sleep
(sleepTime);
58
Thread.
Sleep
(sleepTime);
79
Thread.
Sleep
(sleepTime);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1798
Thread.
Sleep
(ValidationWaitTime);
System.AddIn (4)
System\Addin\Hosting\AddInStore.cs (2)
1054
Thread.
Sleep
(500);
1117
Thread.
Sleep
(500);
System\Addin\Pipeline\ContractBase.cs (2)
221
Thread.
Sleep
(1 << wait);
227
Thread.
Sleep
(1 << MaxAppDomainUnloadWaits);
System.Configuration (1)
System\Configuration\Internal\WriteFileContext.cs (1)
212
Thread.
Sleep
( SAVING_RETRY_INTERVAL );
System.Core (7)
System\IO\BufferedStream2.cs (1)
101
Thread.
Sleep
(1);
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (1)
519
System.Threading.Thread.
Sleep
(waitSleep);
System\IO\MemoryMappedFiles\MemoryMappedView.cs (2)
204
Thread.
Sleep
(pause);
212
Thread.
Sleep
(0);
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (3)
1315
Thread.
Sleep
(0);
1666
Thread.
Sleep
(0); // Give up my quantum.
1670
Thread.
Sleep
(1); // Give up my quantum.
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
222
Thread.
Sleep
(50);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (3)
36
Thread.
Sleep
(sleepTime);
58
Thread.
Sleep
(sleepTime);
79
Thread.
Sleep
(sleepTime);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1798
Thread.
Sleep
(ValidationWaitTime);
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
320
Threading.Thread.
Sleep
(timeBetweenRetriesMilliseconds);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
835
Thread.
Sleep
(1);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (4)
435
Thread.
Sleep
(transientRetryIntervalInMilliSeconds);
1650
Thread.
Sleep
(sleepInterval);
1890
Thread.
Sleep
(sleepInterval);
2469
Thread.
Sleep
(sleepInterval);
fx\src\data\System\NewXml\XmlBoundElement.cs (1)
161
System.Threading.Thread.
Sleep
(0);
System.Drawing (2)
commonui\System\Drawing\ImageAnimator.cs (1)
371
Thread.
Sleep
(50);
misc\HandleCollector.cs (1)
185
System.Threading.Thread.
Sleep
(sleep);
System.Management (2)
Instrumentation\EventSource.cs (1)
195
Thread.
Sleep
(50);
Instrumentation\Instrumentation.cs (1)
580
Thread.
Sleep
(100);
System.Runtime.Caching (2)
System\Caching\MemoryCacheStatistics.cs (2)
263
Thread.
Sleep
(100);
295
Thread.
Sleep
(100);
System.Runtime.Remoting (1)
channels\core\requestqueue.cs (1)
176
Thread.
Sleep
(250);
System.ServiceModel (3)
System\ServiceModel\ComIntegration\DllHostInitializer.cs (1)
41
Thread.
Sleep
(10000);
System\ServiceModel\Security\TlsSspiNegotiation.cs (1)
119
Thread.
Sleep
(0);
System\ServiceModel\Transactions\WsatProxy.cs (1)
220
Thread.
Sleep
(0);
System.Transactions (2)
System\Transactions\TransactionTable.cs (2)
109
Thread.
Sleep
( 0 );
115
Thread.
Sleep
( SLEEP_TIME );
System.Web (34)
Cache\SqlCacheDependency.cs (3)
652
Thread.
Sleep
(250);
807
Thread.
Sleep
(250);
1028
Thread.
Sleep
(250);
Compilation\BuildManager.cs (2)
2479
Thread.
Sleep
(250);
2484
Thread.
Sleep
(1000);
Compilation\BuildManagerHost.cs (1)
145
Thread.
Sleep
(250);
Compilation\ClientBuildManager.cs (1)
594
Thread.
Sleep
(200);
Compilation\CodeDirectoryCompiler.cs (1)
186
System.Threading.Thread.
Sleep
(250);
FileChangesMonitor.cs (2)
2291
Thread.
Sleep
(250);
2325
Thread.
Sleep
(10);
Hosting\ApplicationManager.cs (2)
544
Thread.
Sleep
(100);
1270
System.Threading.Thread.
Sleep
(250);
Hosting\HostingEnvironment.cs (2)
573
Thread.
Sleep
(100);
719
Thread.
Sleep
(100);
Hosting\IPipelineRuntime.cs (3)
275
Thread.
Sleep
(250);
556
Thread.
Sleep
(10);
712
Thread.
Sleep
(250);
Hosting\ISAPIWorkerRequest.cs (1)
2091
Thread.
Sleep
(250);
HttpContext.cs (1)
1767
Thread.
Sleep
(100);
HttpRuntime.cs (4)
1886
Thread.
Sleep
(250);
1947
Thread.
Sleep
(250);
1998
Thread.
Sleep
(250);
2184
Thread.
Sleep
(250);
httpserverutility.cs (1)
555
Thread.
Sleep
(1);
Management\AppDomainResourcePerfCounters.cs (1)
55
Thread.
Sleep
(100);
Management\SqlWebEventProvider.cs (1)
284
Thread.
Sleep
(1000);
RequestQueue.cs (1)
274
Thread.
Sleep
(100);
RequestTimeoutManager.cs (1)
57
Thread.
Sleep
(100);
State\sqlstateclientmanager.cs (2)
855
Thread.
Sleep
(FIRST_RETRY_SLEEP_TIME);
869
Thread.
Sleep
(RETRY_SLEEP_TIME);
UI\LegacyPageAsyncTaskManager.cs (1)
127
Thread.
Sleep
(50);
Util\AspCompat.cs (1)
385
Thread.
Sleep
(1);
Util\ReadWriteSpinLock.cs (2)
289
Thread.
Sleep
(sleepTime);
318
Thread.
Sleep
(sleepTime);
System.Windows.Forms (5)
misc\HandleCollector.cs (1)
185
System.Threading.Thread.
Sleep
(sleep);
winforms\Managed\System\WinForms\Clipboard.cs (3)
183
System.Threading.Thread.
Sleep
(retryDelay /*ms*/);
197
System.Threading.Thread.
Sleep
(retryDelay /*ms*/);
251
System.Threading.Thread.
Sleep
(retryDelay /*ms*/);
winforms\Managed\System\WinForms\SendKeys.cs (1)
664
System.Threading.Thread.
Sleep
(1);
System.Workflow.Activities (1)
Executors\WorkflowWebService.cs (1)
206
System.Threading.Thread.
Sleep
(500);
System.Workflow.Runtime (3)
DbRetry.cs (1)
63
Thread.
Sleep
(sleep);
DebugEngine\DebugControllerThread.cs (2)
58
Thread.
Sleep
(10);
166
Thread.
Sleep
(Timeout.Infinite);
UIAutomationClient (2)
MS\Internal\Automation\HwndProxyElementProvider.cs (2)
496
Thread.
Sleep
( 100 );
1632
System.Threading.Thread.
Sleep
(1);
UIAutomationClientsideProviders (13)
MS\Internal\AutomationProxies\Misc.cs (2)
127
System.Threading.Thread.
Sleep
(1);
989
System.Threading.Thread.
Sleep
(50);
MS\Internal\AutomationProxies\WindowsButton.cs (1)
529
System.Threading.Thread.
Sleep
(1);
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
809
System.Threading.Thread.
Sleep
(1);
MS\Internal\AutomationProxies\WindowsMenu.cs (8)
1469
System.Threading.Thread.
Sleep
(1);
1517
System.Threading.Thread.
Sleep
(100);
1531
System.Threading.Thread.
Sleep
(1);
1537
System.Threading.Thread.
Sleep
(100);
2187
System.Threading.Thread.
Sleep
(10);
2290
System.Threading.Thread.
Sleep
(1);
2343
System.Threading.Thread.
Sleep
(1);
2356
System.Threading.Thread.
Sleep
(1);
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
639
System.Threading.Thread.
Sleep
(1);
WindowsBase (1)
Shared\MS\Win32\HandleCollector.cs (1)
137
System.Threading.Thread.
Sleep
(sleep);
WsatConfig (1)
Configuration\RemoteHelper.cs (1)
105
System.Threading.Thread.
Sleep
(delayInAutoEventTimeout);
WsatUI (1)
Configuration\RemoteHelper.cs (1)
105
System.Threading.Thread.
Sleep
(delayInAutoEventTimeout);