Function report |
Source Code:kernel\locking\locktorture.c |
Create Date:2022-07-28 09:54:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Forward reference.
Proto:static void lock_torture_cleanup(void)
Type:void
Parameter:Nothing
| 789 | If Clean up torture module Then Return |
| 798 | If Not writer statistics && Not reader statistics Then Go to end |
| 801 | If writer_tasks Then |
| 802 | When i < nrealwriters_stress cycle torture_stop_kthread(Lock torture writer kthread. Repeatedly acquires and releases* the lock, checking for duplicate acquisitions., writer_tasks[i]) |
| 806 | writer_tasks = NULL |
| 809 | If reader_tasks Then |
| 810 | When i < nrealreaders_stress cycle torture_stop_kthread(Lock torture reader kthread. Repeatedly acquires and releases* the reader lock., reader_tasks[i]) |
| 814 | reader_tasks = NULL |
| 820 | If atomic_read( & n_lock_torture_errors) Then lock_torture_print_module_parms(cur_ops, "End of test: FAILURE") |
| 823 | Else if torture_onoff_failures() Then lock_torture_print_module_parms(cur_ops, "End of test: LOCK_HOTPLUG") |
| 826 | Else lock_torture_print_module_parms(cur_ops, "End of test: SUCCESS") |
| 831 | writer statistics = NULL |
| 833 | reader statistics = NULL |
| 835 | end : |
| 836 | torture_cleanup_end() |
| Name | Describe |
|---|---|
| lock_torture_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 |