4 instantiations of Semaphore
System (1)
sys\system\threading\semaphore.cs (1)
286result = 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)
169public static Semaphore OpenExisting(string name) 178public static Semaphore OpenExisting(string name, SemaphoreRights rights) 180Semaphore result; 206public static bool TryOpenExisting(string name, out Semaphore result) 219public static bool TryOpenExisting(string name, SemaphoreRights rights, out Semaphore result) 246out Semaphore result)
System.Data (4)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (4)
313private readonly Semaphore _poolSemaphore; 319private readonly Semaphore _creationSemaphore; 373internal Semaphore CreationSemaphore { 381internal Semaphore PoolSemaphore {
System.Web (1)
Hosting\ProcessHost.cs (1)
298private System.Threading.Semaphore _preloadingThrottle = null;