Lines Matching refs:tdd
348 TimerDeleteData* tdd = reinterpret_cast<TimerDeleteData*>(value.sival_ptr);
350 tdd->thread_id = pthread_self();
351 timer_delete(tdd->timer_id);
352 tdd->complete = true;
356 TimerDeleteData tdd;
362 se.sigev_value.sival_ptr = &tdd;
364 tdd.complete = false;
365 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &tdd.timer_id));
372 ASSERT_EQ(0, timer_settime(tdd.timer_id, TIMER_ABSTIME, &ts, NULL));
375 while (!tdd.complete && (time(NULL) - cur_time) < 5);
376 ASSERT_TRUE(tdd.complete);
382 while (pthread_detach(tdd.thread_id) != ESRCH && (time(NULL) - cur_time) < 5);
383 ASSERT_EQ(ESRCH, pthread_detach(tdd.thread_id));