| Function report | 
| Source Code: kernel\torture.c | Create Date:2022-07-28 13:50:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Create a generic torture kthread that is immediately runnable. If you* need the kthread to be stopped so that you can do something to it before* it starts, you will need to open-code your own.
Proto:int _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m, char *f, struct task_struct **tp)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int (* | fn | |
| void * | arg | |
| char * | s | |
| char * | m | |
| char * | f | |
| struct task_struct ** | tp | 
| 778 | ret = 0 | 
| 780 | VERBOSE_TOROUT_STRING(m) | 
| 787 | Register a task to be shuffled. If there is no memory, just splat* and don't bother registering. | 
| 788 | Return ret | 
| 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 |