PxCpuDispatcher_submitTask_mut

Function PxCpuDispatcher_submitTask_mut 

Source
pub unsafe extern "C" fn PxCpuDispatcher_submitTask_mut(
    self_: *mut PxCpuDispatcher,
    task: *mut PxBaseTask,
)
Expand description

Called by the TaskManager when a task is to be queued for execution.

Upon receiving a task, the dispatcher should schedule the task to run. After the task has been run, it should call the release() method and discard its pointer.