mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-25 19:41:21 -08:00
kernel: readable_event: Signal only once.
This commit is contained in:
parent
b0ab803ce8
commit
ece5287843
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user