1
0
Fork 0
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:
Michael Scire 2018-11-05 03:46:22 -08:00
parent 08970a82ea
commit 9b1fb0c6df

View file

@ -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);