1SCHEDULE_WORK(9) Driver Basics SCHEDULE_WORK(9)
2
3
4
6 schedule_work - put work task in global workqueue
7
9 int schedule_work(struct work_struct * work);
10
12 work
13 job to be done
14
16 Returns zero if work was already on the kernel-global workqueue and
17 non-zero otherwise.
18
19 This puts a job in the kernel-global workqueue if it was not already
20 queued and leaves it in the same position on the kernel-global
21 workqueue otherwise.
22
24Kernel Hackers Manual 2.6. June 2019 SCHEDULE_WORK(9)