Name

schedule_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.