Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
A structure holding internal state for a pending synchronous operation on a work item or queue. More...
#include <kernel.h>
Data Fields | ||
union { | ||
struct z_work_flusher flusher | ||
struct z_work_canceller canceller | ||
}; | ||
A structure holding internal state for a pending synchronous operation on a work item or queue.
Instances of this type are provided by the caller for invocation of k_work_flush(), k_work_cancel_sync() and sibling flush and cancel APIs. A referenced object must persist until the call returns, and be accessible from both the caller thread and the work queue thread.
union { ... } k_work_sync |
struct z_work_canceller k_work_sync::canceller |
struct z_work_flusher k_work_sync::flusher |