Xenomai  3.0.5
udd_signotify Struct Reference

UDD event notification descriptor. More...

Data Fields

pid_t pid
 PID of the Cobalt thread to notify upon interrupt receipt. More...
 
int sig
 Signal number to send to PID for notifying, which must be in the range [SIGRTMIN . More...
 

Detailed Description

UDD event notification descriptor.

This structure shall be used to pass the information required to enable/disable the notification by signal upon interrupt receipt.

If PID is zero or negative, the notification is disabled. Otherwise, the Cobalt thread whose PID is given will receive the Cobalt signal also mentioned, along with the count of interrupts at the time of the receipt stored in siginfo.si_int. A Cobalt thread must explicitly wait for notifications using the sigwaitinfo() or sigtimedwait() services (no asynchronous mode available).

Field Documentation

◆ pid

pid_t udd_signotify::pid

PID of the Cobalt thread to notify upon interrupt receipt.

If pid is zero or negative, the notification is disabled.

◆ sig

int udd_signotify::sig

Signal number to send to PID for notifying, which must be in the range [SIGRTMIN .

. SIGRTMAX] inclusive. This value is not considered if pid is zero or negative.


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