5.2.5.5 SYS_MutexOwner_t Structure

Syntax
typedef struct _SYS_MutexOwner_t
{
 /** Service fields - for internal needs. */
 struct
 {
 QueueElement_t qelem; /**< link used for queuing */
 } service;
 /** Purpose of this parameter is to save owner's execution context. It's up
 to the owner how to use this parameter. Mutex implementation must not
 modify this parameter. */
 void *context;
 /** This function is called in the case when the SYS_MutexLock() operation
 was postponed and now the mutex is locked by the owner. */
 void (*SYS_MutexLockConf)(SYS_Mutex_t *const mutex, void *context);
} SYS_MutexOwner_t;

Description

The SYS_MutexOwner_t structure defines the type of mutex owner.