Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:23:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wq_worker_sleeping - a worker is going to sleep*@task: task going to sleep* This function is called from schedule() when a busy worker is* going to sleep.
Proto:void wq_worker_sleeping(struct task_struct *task)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task |
865 | worker = kthread_data(task) |
873 | If X: flags & WORKER_NOT_RUNNING Then Return |
876 | pool = A: the associated pool |
878 | If WARN_ON_ONCE(None ) Then Return |
881 | None = 1 |
882 | spin_lock_irq( & he pool lock ) |
898 | If next Then wake_up_process(I: worker task ) |
901 | spin_unlock_irq( & he pool lock ) |
Name | Describe |
---|---|
sched_submit_work |
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 |