Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
nx_native_notify_t Struct Reference

Single waiter, multiple task publishers; fields are private. More...

#include <native.h>

Data Fields

pthread_mutex_t mutex
pthread_cond_t condition
uint32_t sequence
bool initialized
bool waiting

Detailed Description

Single waiter, multiple task publishers; fields are private.

Note
Initialize/destroy have one external lifecycle owner. Stop and join all publishers and the waiter before destroy. External pthread_cancel of a caller blocked in these APIs is unsupported; use cooperative stop, publish and join.

Definition at line 23 of file native.h.

Field Documentation

◆ condition

pthread_cond_t nx_native_notify_t::condition

Definition at line 25 of file native.h.

◆ initialized

bool nx_native_notify_t::initialized

Definition at line 27 of file native.h.

◆ mutex

pthread_mutex_t nx_native_notify_t::mutex

Definition at line 24 of file native.h.

◆ sequence

uint32_t nx_native_notify_t::sequence

Definition at line 26 of file native.h.

◆ waiting

bool nx_native_notify_t::waiting

Definition at line 28 of file native.h.


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