5.1.5.13 SYS_MutexUnlock Function
Syntax
bool SYS_MutexUnlock(SYS_Mutex_t *const mutex, SYS_MutexOwner_t *const owner);
Description
This function unlocks a mutex using the synchronous request.
Note: The system unlocks the mutex immediately.
Input Parameters
Parameter Name | Description |
---|---|
mutex | Pointer to a locked mutex |
owner | The pointer to owner’s structure. The owner can reuse the memory for this structure after this operation. |
Return Type and Values
true
– The unlocking operation finishes successfully.false
– The owner does not lock the mutex.