To send a signal, set the sigev_notify field to one of:
For SIGEV_SIGNAL*, the additional fields you'll have to fill are:
Field | Value and meaning |
---|---|
sigev_signo | Signal number to send (from <signal.h>, e.g., SIGALRM). |
sigev_code | An 8-bit code (if using SIGEV_SIGNAL_CODE or SIGEV_SIGNAL_THREAD). |