mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 13:11:49 +00:00
mesosphere: KSync->Signal() -> KSync->NotifyWaiters
This commit is contained in:
parent
08970a82ea
commit
9b1fb0c6df
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class KSynchronizationObject : public KAutoObject {
|
||||||
virtual ~KSynchronizationObject();
|
virtual ~KSynchronizationObject();
|
||||||
virtual bool IsSignaled() const = 0;
|
virtual bool IsSignaled() const = 0;
|
||||||
|
|
||||||
void Signal(); // Note: Signal() with !IsSignaled() is no-op
|
void NotifyWaiters(); // Note: NotifyWaiters() with !IsSignaled() is no-op
|
||||||
|
|
||||||
KLinkedList<KThread *>::const_iterator AddWaiter(KThread &thread);
|
KLinkedList<KThread *>::const_iterator AddWaiter(KThread &thread);
|
||||||
void RemoveWaiter(KLinkedList<KThread *>::const_iterator it);
|
void RemoveWaiter(KLinkedList<KThread *>::const_iterator it);
|
||||||
|
|
Loading…
Reference in a new issue