42 references to WaitOne
mscorlib (4)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
964if (!waitEvent.WaitOne(millisecondsTimeout, false))
system\runtime\remoting\realproxy.cs (1)
592ar.AsyncWaitHandle.WaitOne(
system\threading\waithandle.cs (2)
215return WaitOne(-1,false); 220return WaitOne(millisecondsTimeout, false);
PresentationCore (3)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
1310mutexObtained = _tempFileMutex.WaitOne(_tempFileSyncTimeout, false); // wait up to 5 seconds
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (2)
499if (!_responseAvailable.WaitOne(0, false)) 934if (!_responseAvailable.WaitOne(0, false))
SMSvcHost (1)
System\ServiceModel\Activation\ListenerAdapter.cs (1)
98cleanupComplete.WaitOne(ListenerConstants.ServiceStopTimeout, false);
System (21)
compmod\system\codedom\compiler\Executor.cs (1)
293signaled = pwh.WaitOne(ProcessTimeOut, false);
net\System\Net\_AutoWebProxyScriptEngine.cs (3)
562if (registryChangeDeferred || (forReal = (tempEvent != null && tempEvent.WaitOne(0, false)))) 596if (registryChangeLMDeferred || (forReal = (tempEvent != null && tempEvent.WaitOne(0, false)))) 631if (registryChangePolicyDeferred || (forReal = (tempEvent != null && tempEvent.WaitOne(0, false))))
net\System\Net\_LazyAsyncResult.cs (1)
493waitHandle.WaitOne(Timeout.Infinite, false);
net\System\Net\_TimerThread.cs (1)
719if (s_ThreadReadyEvent.WaitOne(0, false)) {
net\System\Net\connectionpool.cs (4)
292if (Semaphore.WaitOne(0, false)) { 343if (Semaphore.WaitOne(0, false) ) { // != WaitTimeout 368if(Semaphore.WaitOne(0, false)) { // != WaitTimeout 701if (!CreationMutex.WaitOne(creationTimeout, false)) {
net\System\Net\filewebrequest.cs (2)
377if (!result.AsyncWaitHandle.WaitOne(Timeout, false) || !result.IsCompleted) { 406if (!result.AsyncWaitHandle.WaitOne(Timeout, false) || !result.IsCompleted) {
net\System\Net\Internal.cs (2)
631if (ipv4Socket != null && ipv4Socket.GetEventHandle().WaitOne(0, false)){ 634if (ipv6Socket != null && ipv6Socket.GetEventHandle().WaitOne(0, false))
net\System\Net\UnsafeNativeMethods.cs (1)
269return rasEvent.WaitOne(0, false);
services\monitoring\system\diagnosticts\Process.cs (3)
259this.signaled = wh.WaitOne(0, false); 1667if (waitHandle.WaitOne(0, false)) { 2437if( processWaitHandle.WaitOne(milliseconds, false)) {
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
1242if (wh.WaitOne(0, false)) {
sys\system\Media\SoundPlayer.cs (2)
303if (!semaphore.WaitOne(LoadTimeout, false)) { 337if(!semaphore.WaitOne(LoadTimeout, false)) {
System.Data (3)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
638if (_waitHandles.PoolSemaphore.WaitOne(0, false) /* != WAIT_TIMEOUT */) { 688if(_waitHandles.PoolSemaphore.WaitOne(0, false) /* != WAIT_TIMEOUT */) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1439stateObj._fResetEventOwned = _resetConnectionEvent.WaitOne(stateObj.GetTimeoutRemaining(), false);
System.IO.Log (1)
System\IO\Log\LogManagementAsyncResult.cs (1)
99if (doneEvent.WaitOne(MaxLogFullNotificationTimeOut, false))
System.Runtime.Caching (1)
System\Caching\MemoryCacheStore.cs (1)
136_insertBlock.WaitOne(INSERT_BLOCK_WAIT, false);
System.Runtime.Remoting (2)
channels\core\socketstream.cs (1)
74ar.AsyncWaitHandle.WaitOne(_timeout, false);
channels\ipc\pipestream.cs (1)
64ar.AsyncWaitHandle.WaitOne(_timeout, false);
System.ServiceModel (1)
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
396bool signalled = securityEvent.WaitOne(0, false);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Control.cs (2)
4422if (waitHandle.WaitOne(1, false)) { 4442processed = waitHandle.WaitOne(1000, false);
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
613while (published && this.isAttached && !this.eventConduitAttached.WaitOne(attachTimeout, false));
UIAutomationClient (1)
MS\Internal\Automation\QueueProcessor.cs (1)
105return syncItem._ev.WaitOne(2000, false);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\QueueProcessor.cs (1)
86return syncItem._ev.WaitOne (2000, false);