newp 102 plugin/timer/timer_create.cpp struct timer *newp; newp 103 plugin/timer/timer_create.cpp newp = (struct timer *) JALLOC_MALLOC(sizeof (struct timer)); newp 104 plugin/timer/timer_create.cpp if (newp == NULL) { newp 109 plugin/timer/timer_create.cpp newp->sival = evp->sigev_value; newp 110 plugin/timer/timer_create.cpp newp->thrfunc = evp->sigev_notify_function; newp 111 plugin/timer/timer_create.cpp newp->sigev_notify = SIGEV_THREAD; newp 116 plugin/timer/timer_create.cpp (void) pthread_attr_init (&newp->attr); newp 121 plugin/timer/timer_create.cpp (void) pthread_attr_setdetachstate (&newp->attr, PTHREAD_CREATE_DETACHED); newp 124 plugin/timer/timer_create.cpp sevOut->sigev_value.sival_ptr = newp; newp 134 plugin/timer/timer_create.cpp newp->next = active_timer_sigev_thread; newp 135 plugin/timer/timer_create.cpp active_timer_sigev_thread = newp; newp 141 plugin/timer/timer_create.cpp JALLOC_FREE(newp);