Function report |
Source Code:lib\test_rhashtable.c |
Create Date:2022-07-28 06:31:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:threadfunc
Proto:static int threadfunc(void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | data |
| 633 | err = 0 , insert_retries = 0 |
| 636 | If atomic_dec_and_test( & startup_count) Then wake_up( & startup_wait) |
| 646 | err = insert_retry( & ht, & objs[i], test_rht_params) |
| 647 | If err > 0 Then |
| 648 | insert_retries += err |
| 649 | Else if err Then |
| 655 | If insert_retries Then pr_info(" thread[%d]: %u insertions retried due to memory pressure\n", id, insert_retries) |
| 659 | err = thread_lookup_test(tdata) |
| 660 | If err Then |
| 668 | If id == TEST_INSERT_FAIL Then Continue |
| 672 | If err Then |
| 677 | id = TEST_INSERT_FAIL |
| 679 | cond_resched() |
| 681 | err = thread_lookup_test(tdata) |
| 682 | If err Then |
| 688 | out : |
| 691 | schedule() |
| 693 | Return err |
| 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 |