|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Task runtime state. More...
#include <task.h>
Data Fields | |
| union { | |
| struct { | |
| struct k_work_delayable work | |
| Workqueue item. More... | |
| int reschedule_counter | |
| Number of times the work has been rescheduled this run. More... | |
| union { | |
| const void * const_arg | |
| Argument as a constant pointer. More... | |
| void * arg | |
| Argument as a mutable pointer. More... | |
| } task_arg | |
| Compile-time argument. More... | |
| } workqueue | |
| Workqueue state storage. More... | |
| } | executor |
| Executor specific state. | |
| struct k_poll_signal | terminate_signal |
| Thread termination signal. | |
| uint8_t | schedule_idx |
| Schedule that triggered the task to run. | |
| bool | running |
| Task is currently running. | |
| bool | skip |
| Skip evaluation of task. | |
Task runtime state.
| void* task_data::arg |
Argument as a mutable pointer.
| const void* task_data::const_arg |
Argument as a constant pointer.
| union { ... } task_data::executor |
Executor specific state.
Executor specific state
| int task_data::reschedule_counter |
Number of times the work has been rescheduled this run.
| bool task_data::running |
Task is currently running.
| uint8_t task_data::schedule_idx |
Schedule that triggered the task to run.
| bool task_data::skip |
Skip evaluation of task.
| union { ... } task_data::task_arg |
Compile-time argument.
Compile-time argument
| struct k_poll_signal task_data::terminate_signal |
Thread termination signal.
| struct k_work_delayable task_data::work |
Workqueue item.
| struct { ... } task_data::workqueue |
Workqueue state storage.