4 instantiations of Semaphore
System (1)
sys\system\threading\semaphore.cs (1)
286
result = new
Semaphore
(myHandle);
System.Data (2)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
332
_poolSemaphore = new
Semaphore
(0, MAX_Q_SIZE);
334
_creationSemaphore = new
Semaphore
(1, 1);
System.Web (1)
Hosting\ProcessHost.cs (1)
337
_preloadingThrottle = new System.Threading.
Semaphore
(maxPreloadConcurrency, maxPreloadConcurrency);
11 references to Semaphore
System (6)
sys\system\threading\semaphore.cs (6)
169
public static
Semaphore
OpenExisting(string name)
178
public static
Semaphore
OpenExisting(string name, SemaphoreRights rights)
180
Semaphore
result;
206
public static bool TryOpenExisting(string name, out
Semaphore
result)
219
public static bool TryOpenExisting(string name, SemaphoreRights rights, out
Semaphore
result)
246
out
Semaphore
result)
System.Data (4)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (4)
313
private readonly
Semaphore
_poolSemaphore;
319
private readonly
Semaphore
_creationSemaphore;
373
internal
Semaphore
CreationSemaphore {
381
internal
Semaphore
PoolSemaphore {
System.Web (1)
Hosting\ProcessHost.cs (1)
298
private System.Threading.
Semaphore
_preloadingThrottle = null;