mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-22 16:30:57 +01:00
Merge pull request #3871 from lioncash/semi
readable_event: Remove unnecessary semicolon in Signal()
This commit is contained in:
commit
8db4feb5b4
1 changed files with 6 additions and 4 deletions
|
@ -24,10 +24,12 @@ void ReadableEvent::Acquire(Thread* thread) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReadableEvent::Signal() {
|
void ReadableEvent::Signal() {
|
||||||
if (!is_signaled) {
|
if (is_signaled) {
|
||||||
is_signaled = true;
|
return;
|
||||||
SynchronizationObject::Signal();
|
}
|
||||||
};
|
|
||||||
|
is_signaled = true;
|
||||||
|
SynchronizationObject::Signal();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReadableEvent::Clear() {
|
void ReadableEvent::Clear() {
|
||||||
|
|
Loading…
Reference in a new issue