Lines Matching refs:pool
26 /* This is the default implementation of the thread pool management
34 /* Get the thread pool, allocate and initialize it on demand. */
39 struct gomp_thread_pool *pool = thr->thread_pool;
40 if (__builtin_expect (pool == NULL, 0))
42 pool = gomp_malloc (sizeof (*pool));
43 pool->threads = NULL;
44 pool->threads_size = 0;
45 pool->threads_used = 0;
46 pool->last_team = NULL;
47 pool->threads_busy = nthreads;
48 thr->thread_pool = pool;
51 return pool;
55 gomp_release_thread_pool (struct gomp_thread_pool *pool)