---
name: "queue_kthread_work"
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_kthread_work"
---

# queue\_kthread\_work(9)

queue a kthread\_work

## NAME

queue\_kthread\_work - queue a kthread\_work

## SYNOPSIS

**bool queue\_kthread\_work(struct kthread\_worker \*** *worker***, struct kthread\_work \*** *work***);**

## ARGUMENTS

*worker*

target kthread\_worker

*work*

kthread\_work to queue

## DESCRIPTION

Queue *work* to work processor *task* for async execution. *task* must have been created with **kthread\_worker\_create**. Returns **true** if *work* was successfully queued, **false** if it was already pending.

## COPYRIGHT
