Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kthread_queue_work - queue a kthread_work*@worker: target kthread_worker*@work: kthread_work to queue* Queue @work to work processor @task for async execution. @task* must have been created with kthread_worker_create(). Returns %true
Proto:bool kthread_queue_work(struct kthread_worker *worker, struct kthread_work *work)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kthread_worker * | worker | |
| struct kthread_work * | work |
| 821 | bool ret = false |
| 824 | raw_spin_lock_irqsave( & lock, flags) |
| 827 | ret = true |
| 829 | raw_spin_unlock_irqrestore( & lock, flags) |
| 830 | Return ret |
| Name | Describe |
|---|---|
| kthread_flush_worker | kthread_flush_worker - flush all current works on a kthread_worker*@worker: worker to flush* Wait until all currently executing or pending works on @worker are* finished. |
| sugov_irq_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 |