| 函数逻辑报告 | 
| Source Code: lib\dec_and_lock.c | Create Date:2022-07-27 07:12:23 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:This is an implementation of the notion of "decrement a* reference count, and return locked if it decremented to zero"
函数原型:int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| atomic_t * | atomic | |
| spinlock_t * | lock | 
| 28 | 加自旋锁 | 
| 29 | 如果atomic_dec_and_test(atomic)则返回:1 | 
| 31 | 自旋锁解锁 | 
| 32 | 返回:0 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |