Home | History | Annotate | Download | only in tests

Lines Matching full:pool

104    GThreadPool *pool;
110 pool = g_thread_pool_new ((GFunc) g_usleep, NULL, -1, FALSE, NULL);
113 g_thread_pool_push (pool, GUINT_TO_POINTER (1000), NULL);
115 DEBUG_MSG (("[unused] ===> pushed %d threads onto the idle pool",
141 DEBUG_MSG (("[unused] cleaning up thread pool"));
142 g_thread_pool_free (pool, FALSE, TRUE);
152 DEBUG_MSG (("[pool] ---> [%3.3d] entered thread.", id));
165 DEBUG_MSG (("[pool] ---> [%3.3d] exiting thread (abs count:%ld, "
258 GThreadPool *pool;
279 pool = g_thread_pool_new (test_thread_sort_entry_func,
288 g_thread_pool_set_sort_function (pool,
297 g_thread_pool_push (pool, GUINT_TO_POINTER (id), NULL);
302 g_thread_pool_get_num_threads (pool),
303 g_thread_pool_unprocessed (pool)));
306 g_assert (g_thread_pool_get_max_threads (pool) == max_threads);
307 g_assert (g_thread_pool_get_num_threads (pool) == g_thread_pool_get_max_threads (pool));
430 DEBUG_MSG (("***** POOL RUNNING THREAD COUNT:%ld",
438 DEBUG_MSG (("***** POOL SORT THREAD COUNT:%ld",
448 DEBUG_MSG (("***** POOL IDLE THREAD COUNT:%d, UNPROCESSED JOBS:%d",