Halide
Halide::Runtime::Internal::work Struct Reference

#include <thread_pool_common.h>

Public Member Functions

ALWAYS_INLINE bool make_runnable ()
 
ALWAYS_INLINE bool running () const
 

Public Attributes

halide_parallel_task_t task
 
halide_task_t task_fn
 
worknext_job
 
worksiblings
 
int sibling_count
 
workparent_job
 
int threads_reserved
 
void * user_context
 
int active_workers
 
int exit_status
 
int next_semaphore
 
bool owner_is_sleeping
 

Detailed Description

Definition at line 33 of file thread_pool_common.h.

Member Function Documentation

◆ make_runnable()

◆ running()

ALWAYS_INLINE bool Halide::Runtime::Internal::work::running ( ) const
inline

Member Data Documentation

◆ task

◆ task_fn

halide_task_t Halide::Runtime::Internal::work::task_fn

◆ next_job

work* Halide::Runtime::Internal::work::next_job

◆ siblings

work* Halide::Runtime::Internal::work::siblings

◆ sibling_count

int Halide::Runtime::Internal::work::sibling_count

◆ parent_job

work* Halide::Runtime::Internal::work::parent_job

◆ threads_reserved

int Halide::Runtime::Internal::work::threads_reserved

◆ user_context

void* Halide::Runtime::Internal::work::user_context

◆ active_workers

int Halide::Runtime::Internal::work::active_workers

◆ exit_status

int Halide::Runtime::Internal::work::exit_status

◆ next_semaphore

int Halide::Runtime::Internal::work::next_semaphore

Definition at line 49 of file thread_pool_common.h.

Referenced by make_runnable().

◆ owner_is_sleeping

bool Halide::Runtime::Internal::work::owner_is_sleeping

The documentation for this struct was generated from the following file: