Home
last modified time | relevance | path

Searched refs:init_count (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr.cc61 int init_count = 0; in InitThreadpoolLabels() local
67 threadpool->Schedule([num_threads, &mu, &init_count, &all_initialized, in InitThreadpoolLabels()
71 ++init_count; in InitThreadpoolLabels()
72 if (init_count == num_threads) { in InitThreadpoolLabels()
75 while (init_count < num_threads) { in InitThreadpoolLabels()
/external/python/cpython2/Python/
Ddynload_beos.c104 static int32 init_count = 0; in beos_init_dyn() local
107 val = atomic_add( &init_count, 1 ); in beos_init_dyn()
/external/libusb/libusb/os/
Dlinux_usbfs.c122 static int init_count = 0; variable
449 if (init_count == 0) { in op_init()
456 init_count++; in op_init()
457 else if (init_count == 0) in op_init()
469 assert(init_count != 0); in op_exit()
470 if (!--init_count) { in op_exit()