Home
last modified time | relevance | path

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

/third_party/glib/glib/
Dgthreadpool.c112 static gint unused_threads = 0; variable
168 g_atomic_int_inc (&unused_threads); in g_thread_pool_wait_for_new_pool()
172 if ((guint) g_atomic_int_get (&unused_threads) >= local_max_unused_threads) in g_thread_pool_wait_for_new_pool()
238 g_atomic_int_add (&unused_threads, -1); in g_thread_pool_wait_for_new_pool()
981 max_threads -= g_atomic_int_get (&unused_threads); in g_thread_pool_set_max_unused_threads()
1024 return (guint) g_atomic_int_get (&unused_threads); in g_thread_pool_get_num_unused_threads()
1147 i = (guint) g_atomic_int_get (&unused_threads); in g_thread_pool_set_max_idle_time()