1 write to Semaphore
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\ProcessLock.cs (1)
19Semaphore = new SemaphoreSlim(1);
2 references to Semaphore
Templates.Blazor.Tests (2)
src\ProjectTemplates\Shared\ProcessLock.cs (2)
28Assert.True(await Semaphore.WaitAsync(timeout.Value), $"Unable to acquire process lock for process {Name}"); 33Semaphore.Release();