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
|
||||
virtual void SetBoostPriority() = 0;
|
||||
#else
|
||||
void SetBoostPriority() { Set() }
|
||||
void SetBoostPriority() { Set(); }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
@ -905,6 +905,11 @@ class PosixEvent : public PosixConditionHandle<Event> {
|
|||
~PosixEvent() override = default;
|
||||
void Set() override { handle_.Signal(); }
|
||||
void Reset() override { handle_.Reset(); }
|
||||
EventInfo Query() {
|
||||
EventInfo result{};
|
||||
assert_always();
|
||||
return result;
|
||||
}
|
||||
void Pulse() override {
|
||||
using namespace std::chrono_literals;
|
||||
handle_.Signal();
|
||||
|
|
Loading…
Reference in New Issue