Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:void kthread_flush_worker(struct kthread_worker *worker)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kthread_worker * | worker |
| 1160 | struct kthread_flush_work fwork = {KTHREAD_WORK_INIT(work, kthread_flush_work_fn), COMPLETION_INITIALIZER_ONSTACK(done), } |
| 1166 | wait_for_completion( & done) |
| Name | Describe |
|---|---|
| kthread_destroy_worker | kthread_destroy_worker - destroy a kthread worker*@worker: worker to be destroyed* Flush and destroy @worker. The simple flush is enough because the kthread* worker API is used only in trivial scenarios. There are no multi-step state* machines needed. |
| sugov_kthread_stop |
| 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 |