Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / listati / sigevent.h
1 struct sigevent {
2     int          sigev_notify;    /* Notification method */
3     int          sigev_signo;     /* Timer expiration signal */
4     union sigval sigev_value;     /* Value accompanying signal or
5                                      passed to thread function */
6     /* Function used for thread notifications (SIGEV_THREAD) */
7     void         (*sigev_notify_function) (union sigval);                   
8     /* Attributes for notification thread (SIGEV_THREAD) */
9     void         *sigev_notify_attributes;
10     /* ID of thread to signal (SIGEV_THREAD_ID) */
11     pid_t        sigev_notify_thread_id;
12 };