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 NameDescription
mutexPointer to a locked mutex
ownerThe 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.