posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
sigevent Struct Reference

Structure describing how to notify about an asynchronous event. More...

#include <zephyr/posix/posix_signal.h>

Collaboration diagram for sigevent:

Data Fields

pthread_attr_tsigev_notify_attributes
 Thread attributes for SIGEV_THREAD.
 
void(* sigev_notify_function )(union sigval value)
 Notification function.
 
union sigval sigev_value
 Value passed to notification function or signal.
 
int sigev_notify
 Notification type: SIGEV_NONE, SIGEV_SIGNAL, SIGEV_THREAD.
 
int sigev_signo
 Signal number for SIGEV_SIGNAL notifications.
 
pid_t sigev_notify_thread_id
 Thread ID associated with SIGEV_THREAD_ID (Linux-compatible extension)
 

Detailed Description

Structure describing how to notify about an asynchronous event.

Definition at line 150 of file signal.h.

Field Documentation

◆ sigev_notify

int sigevent::sigev_notify

Notification type: SIGEV_NONE, SIGEV_SIGNAL, SIGEV_THREAD.

Definition at line 156 of file signal.h.

◆ sigev_notify_attributes

pthread_attr_t* sigevent::sigev_notify_attributes

Thread attributes for SIGEV_THREAD.

Definition at line 152 of file signal.h.

◆ sigev_notify_function

void(* sigevent::sigev_notify_function) (union sigval value)

Notification function.

Definition at line 153 of file signal.h.

◆ sigev_notify_thread_id

pid_t sigevent::sigev_notify_thread_id

Thread ID associated with SIGEV_THREAD_ID (Linux-compatible extension)

Definition at line 159 of file signal.h.

◆ sigev_signo

int sigevent::sigev_signo

Signal number for SIGEV_SIGNAL notifications.

Definition at line 157 of file signal.h.

◆ sigev_value

union sigval sigevent::sigev_value

Value passed to notification function or signal.

Definition at line 155 of file signal.h.


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