Add action file loops and display the GPLv3 notice at console startup

This commit is contained in:
cantyonion committed 2026-11-24 16:44:34 +08:00
1 parent 12c7332337
commit b8799a62e7
9 files changed
+305 -47

No files matched your search

+6
View File
@@ -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;