Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

WorkerThreadPool

Inherits: Object

There is currently no description for this class. Please help us by contributing one!

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 add_group_task ( Callable action, int elements, int tasks_needed=-1, bool high_priority=false, String description="" )

There is currently no description for this method. Please help us by contributing one!


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

There is currently no description for this method. Please help us by contributing one!


int get_group_processed_element_count ( int group_id ) const

There is currently no description for this method. Please help us by contributing one!


bool is_group_task_completed ( int group_id ) const

There is currently no description for this method. Please help us by contributing one!


bool is_task_completed ( int task_id ) const

There is currently no description for this method. Please help us by contributing one!


void wait_for_group_task_completion ( int group_id )

There is currently no description for this method. Please help us by contributing one!


void wait_for_task_completion ( int task_id )

There is currently no description for this method. Please help us by contributing one!