Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
k_poll_signal Struct Reference

Poll signal object. More...

#include <kernel.h>

Data Fields

unsigned int signaled
 1 if the event has been signaled, 0 otherwise.
int result
 custom result value passed to k_poll_signal_raise() if needed

Detailed Description

Poll signal object.

A poll signal is a kernel object that can be raised from threads or ISRs with k_poll_signal_raise(), and polled on with k_poll() using K_POLL_TYPE_SIGNAL.

Field Documentation

◆ result

int k_poll_signal::result

custom result value passed to k_poll_signal_raise() if needed

◆ signaled

unsigned int k_poll_signal::signaled

1 if the event has been signaled, 0 otherwise.

Stays set to 1 until user resets it to 0.


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