|
VLink
2.0.0
A high-performance communication middleware
|
Scheduling parameters captured at the call to exec_task().
更多...
#include <schedule.h>
Public 成员函数 | |
| Config () | |
Constructs a default Config with every field zero-initialised. 更多... | |
| Config (uint32_t _delay_ms, uint16_t _priority=0, uint32_t _schedule_timeout_ms=0, uint32_t _execution_timeout_ms=0) | |
Constructs a fully populated Config. 更多... | |
Public 属性 | |
| uint32_t | delay_ms {0} |
Delay before posting; 0 posts immediately. 更多... | |
| uint16_t | priority {0} |
| Dispatch priority hint; higher fires sooner. 更多... | |
| uint32_t | schedule_timeout_ms {0} |
Queue-wait budget after the delay; 0 disables. 更多... | |
| uint32_t | execution_timeout_ms {0} |
Execution budget per callback; 0 disables. 更多... | |
Scheduling parameters captured at the call to exec_task().
All fields default to zero, which corresponds to immediate dispatch with no timeouts.
| vlink::Schedule::Config::Config | ( | ) |
Constructs a default Config with every field zero-initialised.
|
explicit |
Constructs a fully populated Config.
| _delay_ms | Delay before posting in milliseconds. |
| _priority | Dispatch priority for priority-aware loops. |
| _schedule_timeout_ms | Maximum queue-wait budget after the delay. |
| _execution_timeout_ms | Maximum execution budget per callback in the chain. |
| uint32_t vlink::Schedule::Config::delay_ms {0} |
Delay before posting; 0 posts immediately.
| uint32_t vlink::Schedule::Config::execution_timeout_ms {0} |
Execution budget per callback; 0 disables.
| uint16_t vlink::Schedule::Config::priority {0} |
Dispatch priority hint; higher fires sooner.
| uint32_t vlink::Schedule::Config::schedule_timeout_ms {0} |
Queue-wait budget after the delay; 0 disables.