Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
k_p4wq_work Struct Reference

P4 Queue Work Item. More...

#include <p4wq.h>

Data Fields

int32_t priority
 
int32_t deadline
 
k_p4wq_handler_t handler
 
bool sync
 
struct k_sem done_sem
 
union {
   struct rbnode   rbnode
 
   sys_dlist_t   dlnode
 
}; 
 
struct k_threadthread
 
struct k_p4wqqueue
 

Detailed Description

P4 Queue Work Item.

User-populated struct representing a single work item. The priority and deadline fields are interpreted as thread scheduling priorities, exactly as per k_thread_priority_set() and k_thread_deadline_set().

Field Documentation

◆ 

union { ... } k_p4wq_work::@403

◆ deadline

int32_t k_p4wq_work::deadline

◆ dlnode

sys_dlist_t k_p4wq_work::dlnode

◆ done_sem

struct k_sem k_p4wq_work::done_sem

◆ handler

k_p4wq_handler_t k_p4wq_work::handler

◆ priority

int32_t k_p4wq_work::priority

◆ queue

struct k_p4wq* k_p4wq_work::queue

◆ rbnode

struct rbnode k_p4wq_work::rbnode

◆ sync

bool k_p4wq_work::sync

◆ thread

struct k_thread* k_p4wq_work::thread

The documentation for this struct was generated from the following file: