Function report | 
Source Code:kernel\torture.c | 
Create Date:2022-07-28 13:50:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Cause the torture test to "stutter", starting and stopping all* threads periodically.
Proto:static int torture_stutter(void *arg)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| void * | arg | 
| 608 | VERBOSE_TOROUT_STRING("torture_stutter task started") | 
| 609 | Do | 
| 610 | If Not Is it time for the current torture test to stop? && stutter > 1 Then | 
| 613 | WRITE_ONCE(stutter_pause_test, 1) | 
| 618 | WRITE_ONCE(stutter_pause_test, 2) | 
| 621 | WRITE_ONCE(stutter_pause_test, 0) | 
| 625 | When Not Is it time for the current torture test to stop? cycle | 
| 627 | 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  |