Stub event query for linux, fix missing semicolon in linux SetEventBoostPriority
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user