daily update on 20240325 by nitload youmu
This commit is contained in:
@@ -43,6 +43,9 @@ namespace StgSharpDebug.Logic
|
||||
|
||||
private SemaphoreSlim _addSubscriberSemaphore = new SemaphoreSlim(1, 1);
|
||||
|
||||
protected SemaphoreSlim CheckSubscriberSemaphore
|
||||
=> _addSubscriberSemaphore;
|
||||
|
||||
public void AddSubscriber(TimeSpanProvider subscriber)
|
||||
{
|
||||
_addSubscriberSemaphore.Wait();
|
||||
@@ -79,11 +82,6 @@ namespace StgSharpDebug.Logic
|
||||
|
||||
public abstract void StartProvidingTime();
|
||||
|
||||
protected SemaphoreSlim CheckSubscriberSemaphore
|
||||
{
|
||||
get => _addSubscriberSemaphore;
|
||||
}
|
||||
|
||||
protected abstract void AddSubscriberUnsynced(TimeSpanProvider subscriber);
|
||||
protected abstract void RemoveSubscriberUnsynced(TimeSpanProvider subscriber);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user