event/PipeEvent: add GetScheduledFlags(), [GS]etReadyFlags()
This commit is contained in:

committed by
Max Kellermann

parent
fa375cbaeb
commit
e682940c54
@@ -47,6 +47,18 @@ public:
|
|||||||
event.Close();
|
event.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsigned GetScheduledFlags() const noexcept {
|
||||||
|
return event.GetScheduledFlags();
|
||||||
|
}
|
||||||
|
|
||||||
|
unsigned GetReadyFlags() const noexcept {
|
||||||
|
return event.GetReadyFlags();
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetReadyFlags(unsigned flags) noexcept {
|
||||||
|
event.SetReadyFlags(flags);
|
||||||
|
}
|
||||||
|
|
||||||
bool Schedule(unsigned flags) noexcept {
|
bool Schedule(unsigned flags) noexcept {
|
||||||
return event.Schedule(flags);
|
return event.Schedule(flags);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user