SCHEDULE_WORK(9) Driver Basics SCHEDULE_WORK(9)NAMEschedule_work - put work task in global workqueue
SYNOPSIS
int schedule_work(struct work_struct * work);
ARGUMENTS
work
job to be done
DESCRIPTION
Returns zero if work was already on the kernel-global workqueue and
non-zero otherwise.
This puts a job in the kernel-global workqueue if it was not already
queued and leaves it in the same position on the kernel-global
workqueue otherwise.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 SCHEDULE_WORK(9)