Function pros_sys::rtos::task_join

source ·
pub unsafe extern "C" fn task_join(task: task_t)
Expand description

Utilizes task notifications to wait until specified task is complete and deleted, then continues to execute the program. Analogous to std::thread::join in C++.

See https://pros.cs.purdue.edu/v5/tutorials/topical/notifications.html for details.

\param task The task to wait on.

\return void