1 write to _waitHandles
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
488
_waitHandles
= new PoolWaitHandles();
20 references to _waitHandles
System.Data (20)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (20)
638
if (
_waitHandles
.PoolSemaphore.WaitOne(0, false) /* != WAIT_TIMEOUT */) {
677
_waitHandles
.PoolSemaphore.Release(1);
688
if(
_waitHandles
.PoolSemaphore.WaitOne(0, false) /* != WAIT_TIMEOUT */) {
704
_waitHandles
.PoolSemaphore.Release(1);
854
_waitHandles
.ErrorEvent.Set();
1045
_waitHandles
.ErrorEvent.Reset();
1249
_waitHandles
.DangerousAddRef(ref mustRelease);
1258
waitResult = SafeNativeMethods.WaitForMultipleObjectsEx(waitHandleCount,
_waitHandles
.DangerousGetHandle(), false, waitForMultipleObjectsTimeout, false);
1336
if (
_waitHandles
.CreationSemaphore.WaitOne(unchecked((int)waitForMultipleObjectsTimeout))) {
1343
_waitHandles
.CreationSemaphore.Release(1);
1365
throw new AbandonedMutexException(SEMAPHORE_HANDLE,
_waitHandles
.PoolSemaphore);
1369
throw new AbandonedMutexException(ERROR_HANDLE,
_waitHandles
.ErrorEvent);
1373
throw new AbandonedMutexException(CREATION_HANDLE,
_waitHandles
.CreationSemaphore);
1382
int result = SafeNativeMethods.ReleaseSemaphore(
_waitHandles
.CreationHandle.DangerousGetHandle(), 1, IntPtr.Zero);
1388
_waitHandles
.DangerousRelease();
1548
_waitHandles
.DangerousAddRef(ref mustRelease);
1554
waitResult = SafeNativeMethods.WaitForSingleObjectEx(
_waitHandles
.CreationHandle.DangerousGetHandle(), timeout, false);
1600
waitResult = SafeNativeMethods.ReleaseSemaphore(
_waitHandles
.CreationHandle.DangerousGetHandle(), 1, IntPtr.Zero);
1603
_waitHandles
.DangerousRelease();
1627
_waitHandles
.PoolSemaphore.Release(1);