函数逻辑报告 |
Source Code:ipc\sem.c |
Create Date:2022-07-27 18:19:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The following counts are associated to each semaphore:* semncnt number of tasks waiting on semval being nonzero* semzcnt number of tasks waiting on semval being zero* Per definition, a task waits only on the semaphore of the first semop
函数原型:static int count_semcnt(struct sem_array *sma, ushort semnum, bool count_zero)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sem_array * | sma | |
ushort | semnum | |
bool | count_zero |
1094 | semcnt等于0 |
1096 | 如果count_zero则l等于pending single-sop operations |
1098 | 否则l等于pending single-sop operations |
1105 | semcnt自加 |
1112 | 如果count_zero则 |
1117 | 返回:semcnt |
名称 | 描述 |
---|---|
semctl_main |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |