queue_work_on(9)

queue_work_on9

Queue work on specific cpu

Usage

bool queue_work_on(int cpu, struct workqueue_struct * wq, struct work_struct * work);

Arguments

cpu

CPU number to execute work on

wq

workqueue to use

work

work to queue

Overview

We queue the work to a specific CPU, the caller must ensure it can't go away.

Return

false if work was already on a queue, true otherwise.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.