#include <thread_pool_common.h>
Public Member Functions | |
| ALWAYS_INLINE bool | running () const |
| ALWAYS_INLINE void | assert_zeroed () const |
| ALWAYS_INLINE void | reset () |
Public Attributes | |
| halide_mutex | mutex |
| int | desired_threads_working |
| int | zero_marker |
| work * | jobs |
| int | threads_created |
| int | a_team_size |
| int | target_a_team_size |
| halide_cond | wake_a_team |
| halide_cond | wake_b_team |
| halide_cond | wake_owners |
| int | workers_sleeping |
| int | owners_sleeping |
| halide_thread * | threads [MAX_THREADS] |
| bool | shutdown |
| bool | initialized |
| int | threads_reserved |
Definition at line 96 of file thread_pool_common.h.
|
inline |
Definition at line 143 of file thread_pool_common.h.
References ALWAYS_INLINE, and shutdown.
|
inline |
Definition at line 148 of file thread_pool_common.h.
References ALWAYS_INLINE, and halide_abort_if_false.
|
inline |
Definition at line 160 of file thread_pool_common.h.
References ALWAYS_INLINE, and memset().
| halide_mutex Halide::Runtime::Internal::work_queue_t::mutex |
Definition at line 98 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::desired_threads_working |
Definition at line 101 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::zero_marker |
Definition at line 105 of file thread_pool_common.h.
| work* Halide::Runtime::Internal::work_queue_t::jobs |
Definition at line 108 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::threads_created |
Definition at line 111 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::a_team_size |
Definition at line 118 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::target_a_team_size |
Definition at line 118 of file thread_pool_common.h.
| halide_cond Halide::Runtime::Internal::work_queue_t::wake_a_team |
Definition at line 124 of file thread_pool_common.h.
| halide_cond Halide::Runtime::Internal::work_queue_t::wake_b_team |
Definition at line 124 of file thread_pool_common.h.
| halide_cond Halide::Runtime::Internal::work_queue_t::wake_owners |
Definition at line 124 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::workers_sleeping |
Definition at line 128 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::owners_sleeping |
Definition at line 128 of file thread_pool_common.h.
| halide_thread* Halide::Runtime::Internal::work_queue_t::threads[MAX_THREADS] |
Definition at line 131 of file thread_pool_common.h.
| bool Halide::Runtime::Internal::work_queue_t::shutdown |
Definition at line 135 of file thread_pool_common.h.
Referenced by running().
| bool Halide::Runtime::Internal::work_queue_t::initialized |
Definition at line 135 of file thread_pool_common.h.
| int Halide::Runtime::Internal::work_queue_t::threads_reserved |
Definition at line 141 of file thread_pool_common.h.