Merge pull request #107029 from mhilbrunner/expose-workerthreadpool-gettaskid
Expose `WorkerThreadPool.get_caller_task_id()`
This commit is contained in:
commit
8862d4c9b5
2 changed files with 10 additions and 0 deletions
|
|
@ -861,6 +861,8 @@ void WorkerThreadPool::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("is_group_task_completed", "group_id"), &WorkerThreadPool::is_group_task_completed);
|
||||
ClassDB::bind_method(D_METHOD("get_group_processed_element_count", "group_id"), &WorkerThreadPool::get_group_processed_element_count);
|
||||
ClassDB::bind_method(D_METHOD("wait_for_group_task_completion", "group_id"), &WorkerThreadPool::wait_for_group_task_completion);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_caller_task_id"), &WorkerThreadPool::get_caller_task_id);
|
||||
}
|
||||
|
||||
WorkerThreadPool *WorkerThreadPool::get_named_pool(const StringName &p_name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue