yuzu-emu
/
yuzu
Archived
1
0
Fork 0

kernel: readable_event: Signal only once.

This commit is contained in:
bunnei 2019-11-03 04:25:41 -05:00
parent b0ab803ce8
commit ece5287843
1 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,10 @@ void ReadableEvent::Acquire(Thread* thread) {
} }
void ReadableEvent::Signal() { void ReadableEvent::Signal() {
if (!signaled) {
signaled = true; signaled = true;
WakeupAllWaitingThreads(); WakeupAllWaitingThreads();
};
} }
void ReadableEvent::Clear() { void ReadableEvent::Clear() {