WorkerThreadPool

Inherits: Object

Methods

int

add_group_task ( Callable action, int elements, int tasks_needed=-1, bool high_priority=false, String description="" )

int

add_task ( Callable action, bool high_priority=false, String description="" )

int

get_group_processed_element_count ( int group_id ) const

bool

is_group_task_completed ( int group_id ) const

bool

is_task_completed ( int task_id ) const

void

wait_for_group_task_completion ( int group_id )

void

wait_for_task_completion ( int task_id )

Method Descriptions



  • int get_group_processed_element_count ( int group_id ) const


  • bool is_group_task_completed ( int group_id ) const


  • bool is_task_completed ( int task_id ) const


  • void wait_for_group_task_completion ( int group_id )


  • void wait_for_task_completion ( int task_id )