Home
last modified time | relevance | path

Searched refs:timer_thread (Results 1 – 2 of 2) sorted by relevance

/external/libusb/libusb/os/
Dwindows_nt_common.c53 static HANDLE timer_thread = NULL; variable
340 timer_thread = (HANDLE)_beginthreadex(NULL, 0, windows_clock_gettime_threaded, (void *)event, in windows_init_clock()
342 if (timer_thread == NULL) { in windows_init_clock()
348 if (!SetThreadAffinityMask(timer_thread, affinity)) in windows_init_clock()
370 if (timer_thread) { in windows_destroy_clock()
373 || (WaitForSingleObject(timer_thread, INFINITE) != WAIT_OBJECT_0)) { in windows_destroy_clock()
375 TerminateThread(timer_thread, 1); in windows_destroy_clock()
379 CloseHandle(timer_thread); in windows_destroy_clock()
380 timer_thread = NULL; in windows_destroy_clock()
438 if (timer_thread) { in windows_clock_gettime()
/external/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c126 void *timer_thread(void *thread) in timer_thread() function
195 t_id = create_fifo_thread(timer_thread, NULL, high_prio); in main()