Function osMutexNew

Source
pub unsafe extern "C" fn osMutexNew(
    attr: *const osMutexAttr_t,
) -> osMutexId_t
Expand description

Create and Initialize a Mutex object. \param[in] attr mutex attributes; NULL: default values. \return mutex ID for reference by other functions or NULL in case of error.