Home
last modified time | relevance | path

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

/freebsd-9-stable/lib/libthr/thread/
Dthr_list.c66 static int total_threads; variable
81 total_threads = 1; in _thr_list_init()
149 if (total_threads > MAX_THREADS) in _thr_alloc()
151 atomic_fetchadd_int(&total_threads, 1); in _thr_alloc()
154 atomic_fetchadd_int(&total_threads, -1); in _thr_alloc()
160 atomic_fetchadd_int(&total_threads, -1); in _thr_alloc()
178 atomic_fetchadd_int(&total_threads, -1); in _thr_alloc()
204 atomic_fetchadd_int(&total_threads, -1); in _thr_free()
/freebsd-9-stable/contrib/ntp/lib/isc/win32/
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()