RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到

#include <rtdef.h>

成员变量

struct rt_ipc_object parent
 
rt_uint8_t ceiling_priority
 
rt_uint8_t priority
 
rt_uint8_t hold
 
rt_uint8_t reserved
 
struct rt_threadowner
 
rt_list_t taken_list
 
struct rt_spinlock spinlock
 

详细描述

Mutual exclusion (mutex) structure

在文件 rtdef.h1024 行定义.

结构体成员变量说明

◆ parent

struct rt_ipc_object rt_mutex::parent

inherit from ipc_object

在文件 rtdef.h1026 行定义.

◆ ceiling_priority

rt_uint8_t rt_mutex::ceiling_priority

the priority ceiling of mutexe

在文件 rtdef.h1028 行定义.

◆ priority

rt_uint8_t rt_mutex::priority

the maximal priority for pending thread

在文件 rtdef.h1029 行定义.

◆ hold

rt_uint8_t rt_mutex::hold

numbers of thread hold the mutex

在文件 rtdef.h1030 行定义.

◆ reserved

rt_uint8_t rt_mutex::reserved

reserved field

在文件 rtdef.h1031 行定义.

◆ owner

struct rt_thread* rt_mutex::owner

current owner of mutex

在文件 rtdef.h1033 行定义.

◆ taken_list

rt_list_t rt_mutex::taken_list

the object list taken by thread

在文件 rtdef.h1034 行定义.

◆ spinlock

struct rt_spinlock rt_mutex::spinlock

在文件 rtdef.h1035 行定义.