Home
last modified time | relevance | path

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

/third_party/glib/gio/
Dgtask.c620 static gint tasks_running; variable
1367 g_thread_pool_set_max_threads (task_pool, tasks_running + 1, NULL); in task_pool_manager_timeout()
1368 g_trace_set_int64_counter (task_pool_max_counter, tasks_running + 1); in task_pool_manager_timeout()
1380 tasks_running++; in g_task_thread_setup()
1382 g_trace_set_int64_counter (tasks_running_counter, tasks_running); in g_task_thread_setup()
1384 if (tasks_running == G_TASK_POOL_SIZE) in g_task_thread_setup()
1386 else if (tasks_running > G_TASK_POOL_SIZE && tasks_running < G_TASK_WAIT_TIME_MAX_POOL_SIZE) in g_task_thread_setup()
1389 if (tasks_running >= G_TASK_POOL_SIZE) in g_task_thread_setup()
1403 if (tasks_running > G_TASK_POOL_SIZE) in g_task_thread_cleanup()
1405 g_thread_pool_set_max_threads (task_pool, tasks_running - 1, NULL); in g_task_thread_cleanup()
[all …]