1QUEUE_WORK(9) Driver Basics QUEUE_WORK(9)
23
4
NAME
6queue_work - queue work on a workqueue
7
SYNOPSIS
9int queue_work(struct workqueue_struct * wq,
10struct work_struct * work);
11
ARGUMENTS
13wq
14workqueue to use
1516
work
17work to queue
18
DESCRIPTION
20Returns 0 if work was already on a queue, non-zero otherwise.
2122
We queue the work to the CPU on which it was submitted, but if the CPU
23dies it can be processed by another CPU.
24
COPYRIGHT
26Kernel Hackers Manual 2.6. June 2019 QUEUE_WORK(9)