Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libthr/thread/
H A Dthr_list.c70 static int total_threads; variable
85 total_threads = 1; in _thr_list_init()
153 if (total_threads > MAX_THREADS) in _thr_alloc()
155 atomic_fetchadd_int(&total_threads, 1); in _thr_alloc()
158 atomic_fetchadd_int(&total_threads, -1); in _thr_alloc()
164 atomic_fetchadd_int(&total_threads, -1); in _thr_alloc()
182 atomic_fetchadd_int(&total_threads, -1); in _thr_alloc()
208 atomic_fetchadd_int(&total_threads, -1); in _thr_free()
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp2183 int total_threads = 0; // Total number of threads in system. in __kmp_get_load_balance() local
2271 ++total_threads; in __kmp_get_load_balance()
/freebsd-13.1/contrib/ntp/lib/isc/win32/
H A Dsocket.c462 iocompletionport_createthreads(int total_threads, isc_socketmgr_t *manager) { in iocompletionport_createthreads() argument
467 INSIST(total_threads > 0); in iocompletionport_createthreads()
472 for (i = 0; i < total_threads; i++) { in iocompletionport_createthreads()