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