SYS_MutexUnlock Function
C
bool SYS_MutexUnlock(SYS_Mutex_t *const mutex, SYS_MutexOwner_t *const owner);
Description
Unlocks a mutex using synchronous request. ote The mutex will be unlocked immediately.
\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 unlocking operation finishes successfuly otherwise
false - the mutex is not locked by the owner.