---
name: "schedule_work"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/schedule_work"
---

# schedule\_work(9)

put work task in global workqueue

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

## COPYRIGHT
