Home
last modified time | relevance | path

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

/third_party/glib/tests/
Dthreadpool-test.c45 gint max_unused_threads; in test_thread_functions() local
53 max_unused_threads = 3; in test_thread_functions()
56 max_unused_threads)); in test_thread_functions()
57 g_thread_pool_set_max_unused_threads (max_unused_threads); in test_thread_functions()
61 g_assert (g_thread_pool_get_max_unused_threads() == max_unused_threads); in test_thread_functions()
Dasyncqueue-test.c182 gint max_unused_threads = MAX_THREADS; in main() local
195 max_threads, max_unused_threads)); in main()
204 g_thread_pool_set_max_unused_threads (max_unused_threads); in main()
/third_party/glib/glib/
Dgthreadpool.c113 static gint max_unused_threads = 2; variable
164 local_max_unused_threads = (guint) g_atomic_int_get (&max_unused_threads); in g_thread_pool_wait_for_new_pool()
228 local_max_unused_threads = (guint) g_atomic_int_get (&max_unused_threads); in g_thread_pool_wait_for_new_pool()
977 g_atomic_int_set (&max_unused_threads, max_threads); in g_thread_pool_set_max_unused_threads()
1011 return g_atomic_int_get (&max_unused_threads); in g_thread_pool_get_max_unused_threads()
/third_party/glib/
DNEWS6583 * The default values for GThreadPools max_unused_threads and
6780 * The defaults for GThreadPools max_unused_threads