Lines Matching defs:info
47 t_info *info = event->ev_arg;
49 printf("task %s (%p) t1_shutdown\n", info->name, task);
50 isc_task_detach(&info->task);
56 t_info *info = event->ev_arg;
58 printf("task %s (%p) t2_shutdown\n", info->name, task);
59 info->exiting = ISC_TRUE;
65 t_info *info = event->ev_arg;
70 printf("task %s (%p) shutdown\n", info->name, task);
71 if (strcmp(info->name, "0") == 0) {
72 isc_timer_detach(&info->timer);
73 nevent = isc_event_allocate(info->mctx, info, T2_SHUTDOWNOK,
77 info->exiting = ISC_TRUE;
78 isc_task_sendanddetach(&info->peer, &nevent);
91 t_info *info = event->ev_arg;
96 printf("task %s (%p) tick\n", info->name, task);
98 info->ticks++;
99 if (strcmp(info->name, "1") == 0) {
100 if (info->ticks == 10) {
102 } else if (info->ticks >= 15 && info->exiting) {
103 isc_timer_detach(&info->timer);
104 isc_task_detach(&info->task);
105 nevent = isc_event_allocate(info->mctx, info,
110 isc_task_send(info->peer, &nevent);
111 isc_task_detach(&info->peer);
113 } else if (strcmp(info->name, "foo") == 0) {
114 isc_timer_detach(&info->timer);
115 nevent = isc_event_allocate(info->mctx, info,