QUEUE_KTHREAD_WORK

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

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