Question: what is sigval in c?
Answer: A queued signal, with an application-defined value, will be generated when the event of interest occurs. SIGEV_THREAD. A notification function will be called to perform notification. The sigval union is defined as: int sival_int integer signal value void* sival_ptr pointer signal value.