Scroll to navigation

QUEUE_KTHREAD_WORK(9) Driver Basics QUEUE_KTHREAD_WORK(9)

NAME

queue_kthread_work - queue a kthread_work

SYNOPSIS

bool queue_kthread_work(struct kthread_worker * worker, struct kthread_work * work);

ARGUMENTS

worker

target kthread_worker

work

kthread_work to queue

DESCRIPTION

Queue work to work processor task for async execution. task must have been created with kthread_worker_create. Returns true if work was successfully queued, false if it was already pending.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.