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

ParamDescription
mutexthe pointer to a locked mutex.
ownerthe 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.