Merge pull request #82 from chrisps/canary_experimental
Fix missing semicolon
This commit is contained in:
commit
28b565c0c7
|
@ -308,7 +308,7 @@ class Event : public WaitHandle {
|
||||||
//SetEvent, but if there is a waiter we immediately transfer execution to it
|
//SetEvent, but if there is a waiter we immediately transfer execution to it
|
||||||
virtual void SetBoostPriority() = 0;
|
virtual void SetBoostPriority() = 0;
|
||||||
#else
|
#else
|
||||||
void SetBoostPriority() { Set() }
|
void SetBoostPriority() { Set(); }
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -905,6 +905,11 @@ class PosixEvent : public PosixConditionHandle<Event> {
|
||||||
~PosixEvent() override = default;
|
~PosixEvent() override = default;
|
||||||
void Set() override { handle_.Signal(); }
|
void Set() override { handle_.Signal(); }
|
||||||
void Reset() override { handle_.Reset(); }
|
void Reset() override { handle_.Reset(); }
|
||||||
|
EventInfo Query() {
|
||||||
|
EventInfo result{};
|
||||||
|
assert_always();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
void Pulse() override {
|
void Pulse() override {
|
||||||
using namespace std::chrono_literals;
|
using namespace std::chrono_literals;
|
||||||
handle_.Signal();
|
handle_.Signal();
|
||||||
|
|
Loading…
Reference in New Issue