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