1QUEUE_DELAYED_WORK_O(9) Driver Basics QUEUE_DELAYED_WORK_O(9)
2
3
4
6 queue_delayed_work_on - queue work on specific CPU after delay
7
9 bool queue_delayed_work_on(int cpu, struct workqueue_struct * wq,
10 struct delayed_work * dwork,
11 unsigned long delay);
12
14 cpu
15 CPU number to execute work on
16
17 wq
18 workqueue to use
19
20 dwork
21 work to queue
22
23 delay
24 number of jiffies to wait before queueing
25
27 Returns false if work was already on a queue, true otherwise. If delay
28 is zero and dwork is idle, it will be scheduled for immediate
29 execution.
30
32Kernel Hackers Manual 3.10 June 2019 QUEUE_DELAYED_WORK_O(9)