SCHEDULE_DELAYED_WOR

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

NAME

schedule_delayed_work - put work task in global workqueue after delay  

SYNOPSIS

int schedule_delayed_work(struct delayed_work * dwork, unsigned long delay);
 

ARGUMENTS

dwork

job to be done

delay

number of jiffies to wait or 0 for immediate execution
 

DESCRIPTION

After waiting for a given time this puts a job in the kernel-global workqueue.  

COPYRIGHT