Scroll to navigation

SCHEDULE_WORK(9) Driver Basics SCHEDULE_WORK(9)

NAME

schedule_work - put work task in global workqueue

SYNOPSIS

bool schedule_work(struct work_struct * work);

ARGUMENTS

work
job to be done

DESCRIPTION

Returns false if work was already on the kernel-global workqueue and true 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.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.