---
name: "queue_delayed_work_on"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/queue_delayed_work_on"
---

# queue\_delayed\_work\_on(9)

queue work on specific CPU after delay

## NAME

queue\_delayed\_work\_on - queue work on specific CPU after delay

## SYNOPSIS

**bool queue\_delayed\_work\_on(int** *cpu***, struct workqueue\_struct \*** *wq***, struct delayed\_work \*** *dwork***, unsigned long** *delay***);**

## ARGUMENTS

*cpu*

CPU number to execute work on

*wq*

workqueue to use

*dwork*

work to queue

*delay*

number of jiffies to wait before queueing

## RETURN

**false** if *work* was already on a queue, **true** otherwise. If *delay* is zero and *dwork* is idle, it will be scheduled for immediate execution.

## COPYRIGHT
