Home
last modified time | relevance | path

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

/third_party/glib/glib/
Dgthreadpool.c301 SpawnThreadData *spawn_thread_data; in g_thread_pool_spawn_thread() local
315 spawn_thread_data = g_async_queue_pop_unlocked (spawn_thread_queue); in g_thread_pool_spawn_thread()
316 thread = g_thread_try_new (name, g_thread_pool_thread_proxy, spawn_thread_data->pool, &error); in g_thread_pool_spawn_thread()
318 spawn_thread_data->thread = g_steal_pointer (&thread); in g_thread_pool_spawn_thread()
319 spawn_thread_data->error = g_steal_pointer (&error); in g_thread_pool_spawn_thread()
481 SpawnThreadData spawn_thread_data = { (GThreadPool *) pool, NULL, NULL }; in g_thread_pool_start_thread() local
485 g_async_queue_push_unlocked (spawn_thread_queue, &spawn_thread_data); in g_thread_pool_start_thread()
487 while (!spawn_thread_data.thread && !spawn_thread_data.error) in g_thread_pool_start_thread()
490 thread = spawn_thread_data.thread; in g_thread_pool_start_thread()
492 g_propagate_error (error, g_steal_pointer (&spawn_thread_data.error)); in g_thread_pool_start_thread()