GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask typedef
GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask = Pointer<NativeFunction<GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTaskFunction> >
@name worker_thread_pool_add_native_group_task @since 4.1
Adds a group task to an instance of WorkerThreadPool.
@param p_instance A pointer to a WorkerThreadPool object. @param p_func A pointer to a function to run in the thread pool. @param p_userdata A pointer to arbitrary data which will be passed to p_func. @param p_tasks The number of tasks needed in the group. @param p_high_priority Whether or not this is a high priority task. @param p_description A pointer to a String with the task description.
@return The task group ID.
@see WorkerThreadPool::add_group_task()
Implementation
typedef GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask =
ffi.Pointer<
ffi.NativeFunction<
GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTaskFunction
>
>;