Scroll to navigation

QUEUE_DELAYED_WORK_O(9) Driver Basics QUEUE_DELAYED_WORK_O(9)

NAME

queue_delayed_work_on - queue work on specific CPU after delay

SYNOPSIS

int queue_delayed_work_on(int cpu, struct workqueue_struct * wq, struct delayed_work * dwork, unsigned long delay);

ARGUMENTS

cpu

CPU number to execute work on

wq

workqueue to use

dwork

work to queue

delay

number of jiffies to wait before queueing

DESCRIPTION

Returns 0 if work was already on a queue, non-zero otherwise.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.