Home
last modified time | relevance | path

Searched refs:timer_thread (Results 1 – 3 of 3) 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/grpc-grpc/src/core/lib/iomgr/
Dtimer_manager.cc62 static void timer_thread(void* completed_thread_ptr);
89 ct->thd = grpc_core::Thread("grpc_global_timer", timer_thread, ct); in start_timer_thread_and_unlock()
265 static void timer_thread(void* completed_thread_ptr) { in timer_thread() function
/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()