RT-Thread RTOS  1.2.0
An open source embedded real-time operating system
rt_semaphore Struct Reference

#include <rtdef.h>

Data Fields

struct rt_ipc_object parent
 
rt_uint16_t value
 

Detailed Description

Semaphore structure

Field Documentation

◆ parent

struct rt_ipc_object rt_semaphore::parent

inherit from ipc_object

◆ value

rt_uint16_t rt_semaphore::value

value of semaphore.