1#include <cx/taskqueue/taskqueue_shared.h>
5// absolute maximum time between manager cycles
6#define MAX_MANAGER_INTERVAL (timeS(10))
8abstract class TQManager {
10 bool needsWorkerTick; // true if this manager needs to be ticked by the worker
12 bool start([in] TaskQueue *tq);
14 void notify(bool wakeup);
15 void pretask(); // for in-worker managers, this is called BEFORE a task is run by the worker