| Function report | 
| Source Code: kernel\kthread.c | Create Date:2022-07-28 09:30:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__kthread_bind_mask
Proto:static void __kthread_bind_mask(struct task_struct *p, const struct cpumask *mask, long state)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | p | |
| const struct cpumask * | mask | |
| long | state | 
| 399 | If Not wait_task_inactive(p, state) Then | 
| 400 | WARN_ON(1) | 
| 401 | Return | 
| 406 | do_set_cpus_allowed(p, mask) | 
| 407 | Per task flags (PF_*), defined further below: |= Userland is not allowed to meddle with cpus_mask | 
| Name | Describe | 
|---|---|
| __kthread_bind | |
| kthread_bind_mask | 
| 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 |