mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-11-02 01:55:27 +08:00
committed by
Patrik Svensson
parent
e169df6303
commit
d96817dc9c
@@ -6,9 +6,9 @@ namespace Spectre.Console.Internal
|
|||||||
{
|
{
|
||||||
internal sealed class DefaultExclusivityMode : IExclusivityMode
|
internal sealed class DefaultExclusivityMode : IExclusivityMode
|
||||||
{
|
{
|
||||||
private static readonly SemaphoreSlim _semaphore;
|
private readonly SemaphoreSlim _semaphore;
|
||||||
|
|
||||||
static DefaultExclusivityMode()
|
public DefaultExclusivityMode()
|
||||||
{
|
{
|
||||||
_semaphore = new SemaphoreSlim(1, 1);
|
_semaphore = new SemaphoreSlim(1, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user