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 int 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 0 if work was already on a queue, non-zero otherwise.
28
30Kernel Hackers Manual 2.6. November 2011 QUEUE_DELAYED_WORK_O(9)