SYS_IsMutexLocked Function
C
bool SYS_IsMutexLocked(SYS_Mutex_t *const mutex, SYS_MutexOwner_t *const owner);Description
Checks whether mutex is locked.
\ingroup sys
Parameters
| Param | Description |
|---|---|
| mutex | the pointer to a locked mutex. |
| owner | the pointer to owner's structure. Memory for this structure can be reused after this operation. |
Returns
true - the mutex is locked by the owner,
false - the mutex is not locked by the owner.
