Searched refs:sig_struct (Results 1 – 2 of 2) sorted by relevance
1551 struct sigevent sig_struct; in set_timer() local1554 bzero(&sig_struct, sizeof (struct sigevent)); in set_timer()1558 sig_struct.sigev_notify = SIGEV_SIGNAL; in set_timer()1559 sig_struct.sigev_signo = SIGUSR1; in set_timer()1560 sig_struct.sigev_value.sival_int = 0; in set_timer()1562 if (timer_create(CLOCK_REALTIME, &sig_struct, &t_id) != 0) { in set_timer()
1350 struct sigevent sig_struct; in stats_timer() local1353 bzero(&sig_struct, sizeof (struct sigevent)); in stats_timer()1357 sig_struct.sigev_notify = SIGEV_SIGNAL; in stats_timer()1358 sig_struct.sigev_signo = SIGUSR1; in stats_timer()1359 sig_struct.sigev_value.sival_int = 0; in stats_timer()1361 if (timer_create(CLOCK_REALTIME, &sig_struct, &t_id) != 0) { in stats_timer()