Function report |
Source Code:lib\dec_and_lock.c |
Create Date:2022-07-28 06:15:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is an implementation of the notion of "decrement a* reference count, and return locked if it decremented to zero"
Proto:int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
atomic_t * | atomic | |
spinlock_t * | lock |
29 | If atomic_dec_and_test(atomic) Then Return 1 |
31 | spin_unlock(lock) |
32 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |