5.1.5.11 SYS_IsMutexLocked Function
Syntax
bool SYS_IsMutexLocked(SYS_Mutex_t *const mutex, SYS_MutexOwner_t *const owner);
Description
This function checks whether the mutex is locked.
Input Parameters
Parameter Name | Description |
---|---|
mutex | The pointer to a locked mutex |
owner | The pointer to the owner's structure. Memory for this structure can be reused after this operation. |
Return Type and Values
true
– The owner locks the mutex.false
– The owner does not lock the mutex.