schedule_work
Prev | Workqueues and Kevents | Next

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

Prev | Up | Next
schedule_work_on | Home | flush_scheduled_work