| TNeoKernel
    v1.04
    | 
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_Task * | holder | 
| 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 | |
 1.8.8
 1.8.8