函数逻辑报告 |
Source Code:ipc\sem.c |
Create Date:2022-07-27 18:18:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Enter the mode suitable for non-simple operations:* Caller must own sem_perm.lock.
函数原型:static void complexmode_enter(struct sem_array *sma)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sem_array * | sma |
316 | 如果>0: global lock required 大于0则 |
322 | >0: global lock required 等于Switching from the mode suitable for simple ops* to the mode for complex ops is costly. Therefore:* use some hysteresis |
323 | 返回 |
325 | >0: global lock required 等于Switching from the mode suitable for simple ops* to the mode for complex ops is costly. Therefore:* use some hysteresis |
327 | 以i小于. of semaphores in array 循环 |
名称 | 描述 |
---|---|
sem_lock | If the request contains only one semaphore operation, and there are* no complex transactions pending, lock only the semaphore involved |
sysvipc_sem_proc_show |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |