Halide 19.0.0
Halide compiler and libraries
|
#include <thread_pool_common.h>
Public Member Functions | |
void | wait (halide_mutex *mutex) |
void | broadcast () |
Public Attributes | |
halide_cond | cond |
uintptr_t | counter |
Definition at line 37 of file thread_pool_common.h.
|
inline |
Definition at line 41 of file thread_pool_common.h.
References cond, counter, halide_cond_wait(), halide_mutex_lock(), halide_mutex_unlock(), and halide_thread_yield().
Referenced by Halide::Runtime::Internal::worker_thread_already_locked().
|
inline |
Definition at line 72 of file thread_pool_common.h.
References cond, counter, and halide_cond_broadcast().
Referenced by Halide::Runtime::Internal::enqueue_work_already_locked(), halide_default_semaphore_release(), halide_shutdown_thread_pool(), and Halide::Runtime::Internal::worker_thread_already_locked().
halide_cond Halide::Runtime::Internal::halide_cond_with_spinning::cond |
Definition at line 38 of file thread_pool_common.h.
Referenced by broadcast(), and wait().
uintptr_t Halide::Runtime::Internal::halide_cond_with_spinning::counter |
Definition at line 39 of file thread_pool_common.h.
Referenced by broadcast(), and wait().