/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/ |
H A D | thread-pool.h | 40 class thread_pool class in namespace:gdb 44 static thread_pool *g_thread_pool; 46 ~thread_pool (); 47 DISABLE_COPY_AND_ASSIGN (thread_pool); 65 thread_pool () = default;
|
H A D | thread-pool.cc | 82 thread_pool *thread_pool::g_thread_pool = new thread_pool (); 84 thread_pool::~thread_pool () 93 thread_pool::set_thread_count (size_t num_threads) 105 std::thread thread (&thread_pool::thread_function, this); 121 thread_pool::post_task (std::function<void ()> func) 141 thread_pool::thread_function ()
|
H A D | parallel-for.h | 47 size_t n_threads = std::min (thread_pool::g_thread_pool->thread_count (), 69 futures[i] = gdb::thread_pool::g_thread_pool->post_task (task);
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/nvptx/ |
H A D | pool.h | 40 return thr->thread_pool;
|
H A D | team.c | 73 nvptx_thrs[0].thread_pool = pool; 82 gomp_thread_start (nvptx_thrs[0].thread_pool); 95 thr->thread_pool = pool; 129 pool = thr->thread_pool;
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/accel/ |
H A D | pool.h | 40 return thr->thread_pool;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/accel/ |
H A D | pool.h | 40 return thr->thread_pool;
|
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/ |
H A D | thread-pool.cc | 142 thread_pool *thread_pool::g_thread_pool = new thread_pool (); 144 thread_pool::~thread_pool () 153 thread_pool::set_thread_count (size_t num_threads) 168 std::thread thread (&thread_pool::thread_function, this); 198 thread_pool::do_post_task (std::packaged_task<void ()> &&func) 216 thread_pool::thread_function ()
|
H A D | thread-pool.h | 99 class thread_pool class in namespace:gdb 103 static thread_pool *g_thread_pool; 105 ~thread_pool (); 106 DISABLE_COPY_AND_ASSIGN (thread_pool); 154 thread_pool () = default;
|
H A D | parallel-for.h | 55 = gdb::thread_pool::g_thread_pool->post_task (std::move (task)); 103 = gdb::thread_pool::g_thread_pool->post_task (std::move (task)); 161 size_t n_worker_threads = thread_pool::g_thread_pool->thread_count ();
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
H A D | pool.h | 39 struct gomp_thread_pool *pool = thr->thread_pool; 48 thr->thread_pool = pool;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/posix/ |
H A D | pool.h | 39 struct gomp_thread_pool *pool = thr->thread_pool; 48 thr->thread_pool = pool;
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/rtems/ |
H A D | pool.h | 65 thr->thread_pool = gomp_malloc_cleared (sizeof (*thr->thread_pool)); 76 struct gomp_thread_pool *pool = thr->thread_pool; 81 thr->thread_pool = pool; 92 if (__builtin_expect (thr->thread_pool == NULL, 0)) 103 thr->thread_pool = pool;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/rtems/ |
H A D | pool.h | 65 thr->thread_pool = gomp_malloc_cleared (sizeof (*thr->thread_pool)); 76 struct gomp_thread_pool *pool = thr->thread_pool; 81 thr->thread_pool = pool; 92 if (__builtin_expect (thr->thread_pool == NULL, 0)) 103 thr->thread_pool = pool;
|
/netbsd-current/external/gpl3/gdb/dist/gdb/unittests/ |
H A D | parallel-for-selftests.c | 41 : n_threads (gdb::thread_pool::g_thread_pool->thread_count ()) 47 gdb::thread_pool::g_thread_pool->set_thread_count (n_threads); 103 gdb::thread_pool::g_thread_pool->set_thread_count (n_threads);
|
/netbsd-current/external/cddl/osnet/lib/libzfs/ |
H A D | thread_pool_impl.h | 36 #include <thread_pool.h> 44 * See <thread_pool.h> for interface declarations.
|
H A D | Makefile | 29 SRCS+= thread_pool.c
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/gcn/ |
H A D | team.c | 89 thrs->thread_pool = pool; 97 gomp_thread_start (gcn_thrs ()[0].thread_pool); 118 thr->thread_pool = pool; 163 pool = thr->thread_pool;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/gcn/ |
H A D | team.c | 89 thrs->thread_pool = pool; 97 gomp_thread_start (gcn_thrs ()[0].thread_pool); 118 thr->thread_pool = pool; 163 pool = thr->thread_pool;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/nvptx/ |
H A D | team.c | 76 nvptx_thrs[0].thread_pool = pool; 85 gomp_thread_start (nvptx_thrs[0].thread_pool); 98 thr->thread_pool = pool; 132 pool = thr->thread_pool;
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/ |
H A D | team.c | 57 struct gomp_thread_pool *thread_pool; member in struct:gomp_thread_start_data 88 thr->thread_pool = data->thread_pool; 99 pool = thr->thread_pool; 138 thr->thread_pool = NULL; 228 gomp_free_pool_helper (void *thread_pool) argument 232 = (struct gomp_thread_pool *) thread_pool; 235 thr->thread_pool = NULL; 256 struct gomp_thread_pool *pool = thr->thread_pool; 291 thr->thread_pool 1027 gomp_pause_pool_helper(void *thread_pool) argument [all...] |
H A D | parallel.c | 82 /* The threads_busy counter lives in thread_pool, if there 83 isn't a thread_pool yet, there must be just one thread 87 pool = thr->thread_pool; 145 thr->thread_pool->threads_busy = 1; 149 __sync_fetch_and_add (&thr->thread_pool->threads_busy, 153 thr->thread_pool->threads_busy -= nthreads - 1;
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/ |
H A D | team.c | 57 struct gomp_thread_pool *thread_pool; member in struct:gomp_thread_start_data 89 thr->thread_pool = data->thread_pool; 105 pool = thr->thread_pool; 144 thr->thread_pool = NULL; 241 gomp_free_pool_helper (void *thread_pool) argument 245 = (struct gomp_thread_pool *) thread_pool; 248 thr->thread_pool = NULL; 269 struct gomp_thread_pool *pool = thr->thread_pool; 304 thr->thread_pool 1046 gomp_pause_pool_helper(void *thread_pool) argument [all...] |
H A D | parallel.c | 89 /* The threads_busy counter lives in thread_pool, if there 90 isn't a thread_pool yet, there must be just one thread 94 pool = thr->thread_pool; 152 thr->thread_pool->threads_busy = 1; 156 __sync_fetch_and_add (&thr->thread_pool->threads_busy, 160 thr->thread_pool->threads_busy -= nthreads - 1;
|
/netbsd-current/external/gpl3/gdb/dist/gdb/dwarf2/ |
H A D | cooked-index.c | 226 m_future = gdb::thread_pool::g_thread_pool->post_task ([this] ()
|