Function pros_sys::rtos::mutex_create

source ·
pub unsafe extern "C" fn mutex_create() -> mutex_t
Expand description

Creates a mutex.

See https://pros.cs.purdue.edu/v5/tutorials/topical/multitasking.html#mutexes for details.

\return A handle to a newly created mutex. If an error occurred, NULL will be returned and errno can be checked for hints as to why mutex_create failed.