更新日期: 2022/06/01 来源: https://gitee.com/weharmony/kernel_liteos_a_note
LosSemCB结构体 参考

#include <los_sem_pri.h>

成员变量

UINT8 semStat
 
UINT16 semCount
 
UINT16 maxSemCount
 
UINT32 semID
 
LOS_DL_LIST semList
 

详细描述

Semaphore control structure.

在文件 los_sem_pri.h47 行定义.

结构体成员变量说明

◆ maxSemCount

UINT16 LosSemCB::maxSemCount

Max number of available semaphores | 有效信号量的最大数量

在文件 los_sem_pri.h50 行定义.

◆ semCount

UINT16 LosSemCB::semCount

Number of available semaphores | 有效信号量的数量

在文件 los_sem_pri.h49 行定义.

◆ semID

UINT32 LosSemCB::semID

Semaphore control structure ID | 信号量索引号

在文件 los_sem_pri.h51 行定义.

◆ semList

LOS_DL_LIST LosSemCB::semList

Queue of tasks that are waiting on a semaphore | 挂接阻塞于该信号量的任务

在文件 los_sem_pri.h52 行定义.

◆ semStat

UINT8 LosSemCB::semStat

Semaphore state | 信号量的状态

在文件 los_sem_pri.h48 行定义.


该结构体的文档由以下文件生成: