-For mutex related APIs refer MZ_sys_cmsis_os2.h file.
More...
-For mutex related APIs refer MZ_sys_cmsis_os2.h file.
◆ mz_mutex_create()
This function is used to create and initialize the mutex object Create and Initialize a Mutex object.
- Parameters
-
- Returns
- mutex ID for reference by other functions or NULL in case of error.
◆ mz_mutex_lock()
This function is used to acquire the mutex or timeout if it is locked Acquire a Mutex or timeout if it is locked.
- Parameters
-
- Returns
- status code that indicates the execution status of the function.
◆ mz_mutex_unlock()
This function is used to release the mutex Release a Mutex that was acquired by.
- Parameters
-
- Returns
- status code that indicates the execution status of the function.
◆ mz_mutex_delete()
This function is used to delete the mutex object Delete a Mutex object.
- Parameters
-
- Returns
- status code that indicates the execution status of the function.
◆ mz_mutex_isvalid()
This function is used to check the mutex object validity Check the Mutex Object Validation.
- Parameters
-
- Returns
- status code that indicates the execution status of the function.
◆ mz_mutex_invalid()
This function is used to invalidate the created mutex object Mutex Object created is invalid.
- Parameters
-
- Returns
- 1