Function report |
Source Code:kernel\locking\test-ww_mutex.c |
Create Date:2022-07-28 09:55:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_abba
Proto:static int test_abba(bool resolve)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| bool | resolve |
| 192 | INIT_WORK_ONSTACK( & work, test_abba_work) |
| 193 | init_completion( & a_ready) |
| 194 | init_completion( & b_ready) |
| 200 | ww_mutex_lock( & a_mutex, & ctx) |
| 205 | err = ww_mutex_lock( & b_mutex, & ctx) |
| 209 | err = ww_mutex_lock( & a_mutex, & ctx) |
| 218 | destroy_work_on_stack( & work) |
| 220 | ret = 0 |
| 221 | If resolve Then |
| 227 | Else |
| 234 | Return ret |
| Name | Describe |
|---|---|
| test_ww_mutex_init |
| 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 |