12#include <rusefi/expected.h>
14#define QUEUE_LENGTH_LIMIT 1000
void assertListIsSorted() const
const efidur_t m_lateDelay
void tryReturnScheduling(scheduling_s *sched)
scheduling_s * m_freelist
scheduling_s * getElementAtIndexForUnitText(int index)
int executeAll(efitick_t now)
bool insertTask(scheduling_s *scheduling, efitick_t timeX, action_s const &action)
expected< efitick_t > getNextEventTime(efitick_t nowUs) const
scheduling_s * getFreeScheduling()
bool executeOne(efitick_t now)
void remove(scheduling_s *scheduling)