TNeoKernel  v1.03
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
TN_Mutex Struct Reference

Detailed Description

Mutex.

Definition at line 122 of file tn_mutex.h.

Data Fields

struct TN_ListItem wait_queue
 List of tasks that wait a mutex.
 
struct TN_ListItem mutex_queue
 To include in task's locked mutexes list (if any)
 
struct TN_ListItem deadlock_list
 List of other mutexes involved in deadlock (normally, this list is empty)
 
enum TN_MutexProtocol protocol
 Mutex protocol: priority ceiling or priority inheritance.
 
struct TN_Taskholder
 Current mutex owner (task that locked mutex)
 
int ceil_priority
 Used if only protocol is TN_MUTEX_PROT_CEILING: maximum priority of task that may lock the mutex.
 
int cnt
 Lock count (for recursive locking)
 
enum TN_ObjId id_mutex
 id for object validity verification
 

The documentation for this struct was generated from the following file: