Name
queue_work —
queue work on a workqueue
Synopsis
bool queue_work ( | struct workqueue_struct * wq, |
| struct work_struct * work) ; |
Arguments
wq
workqueue to use
work
work to queue
Description
Returns false
if work
was already on a queue, true
otherwise.
We queue the work to the CPU on which it was submitted, but if the CPU dies
it can be processed by another CPU.