workqueue basic structure
0.0.1. summary
0.0.1.1. worker
1 | |
0.0.1.2. workqueue_struct
1 | |
0.0.1.3. struct worker_pool
1 | |
1 | |
0.0.1.4. struct pool_workqueue
1 | |
0.0.1.5. work_struct
1 | |
0.0.1.6. struct delayed_work
1 | |
0.0.1.7. Define a delayed worker.
include two parts:
timer: to process the ‘delay’, define a timer with
delayed_work_timer_fn.
which just call__queue_work.all the other parts are done for
work.
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
0.0.1.8. define a work or deferrable work.
1 | |
workqueue basic structure
https://martinbj2008.github.io/2014/02/12/2014-02-12-workqueue-basic-structure/