mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-24 04:02:50 +08:00
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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user