|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Infuse-IoT Work Queue API. More...
Functions | |
| static int | infuse_work_submit (struct k_work *work) |
| Submit a work item to the Infuse-IoT queue. | |
| static int | infuse_work_schedule (struct k_work_delayable *dwork, k_timeout_t delay) |
| Submit an idle work item to the Infuse-IoT work queue after a delay. | |
| static int | infuse_work_reschedule (struct k_work_delayable *dwork, k_timeout_t delay) |
| Reschedule a work item to the Infuse-IoT work queue after a delay. | |
Variables | |
| struct k_work_q | infuse_iot_work_q |
| Infuse-IoT work queue. | |
Infuse-IoT Work Queue API.
|
inlinestatic |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/work_q.h>
Reschedule a work item to the Infuse-IoT work queue after a delay.
This is a thin wrapper around k_work_reschedule_for_queue(), with all the API characteristics of that function.
| dwork | pointer to the delayable work item. |
| delay | the time to wait before submitting the work item. |
|
inlinestatic |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/work_q.h>
Submit an idle work item to the Infuse-IoT work queue after a delay.
This is a thin wrapper around k_work_schedule_for_queue(), with all the API characteristics of that function.
| dwork | pointer to the delayable work item. |
| delay | the time to wait before submitting the work item. If K_NO_WAIT this is equivalent to k_work_submit_to_queue(). |
|
inlinestatic |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/work_q.h>
Submit a work item to the Infuse-IoT queue.
| work | pointer to the work item. |
|
extern |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/work_q.h>
Infuse-IoT work queue.