![]() |
RT-Thread RTOS
An open source embedded real-time operating system
|
#include <rtdef.h>
Data Fields | |
| struct rt_ipc_object | parent |
| rt_uint8_t | ceiling_priority |
| rt_uint8_t | priority |
| rt_uint8_t | hold |
| rt_uint8_t | reserved |
| struct rt_thread * | owner |
| rt_list_t | taken_list |
Mutual exclusion (mutex) structure
| struct rt_ipc_object rt_mutex::parent |
inherit from ipc_object
| rt_uint8_t rt_mutex::ceiling_priority |
the priority ceiling of mutexe
| rt_uint8_t rt_mutex::priority |
the maximal priority for pending thread
| rt_uint8_t rt_mutex::hold |
numbers of thread hold the mutex
| rt_uint8_t rt_mutex::reserved |
reserved field
| struct rt_thread* rt_mutex::owner |
current owner of mutex
| rt_list_t rt_mutex::taken_list |
the object list taken by thread