Add action file loops and display the GPLv3 notice at console startup
This commit is contained in:
1 parent
12c7332337
commit
b8799a62e7
9 files changed
+305
-47
No files matched your search
@@ -49,6 +49,11 @@ class ActionScheduler
|
||||
std::vector<std::string> DrainEvents();
|
||||
|
||||
private:
|
||||
struct LoopFrame
|
||||
{
|
||||
std::size_t body;
|
||||
std::optional<std::uint64_t> remaining;
|
||||
};
|
||||
struct Task
|
||||
{
|
||||
TaskId id;
|
||||
@@ -57,6 +62,7 @@ class ActionScheduler
|
||||
State state = State::Ready;
|
||||
Clock::time_point wakeAt{};
|
||||
std::uint64_t readyOrder = 0;
|
||||
std::vector<LoopFrame> loops;
|
||||
};
|
||||
void RemoveActive(bool success);
|
||||
std::map<TaskId, Task> tasks;
|
||||
|
||||
Reference in new issue
Block a user