queue_kthread_work
Prev | Internal Functions | Next

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

Prev | Up | Next
kthread_worker_fn | Home | flush_kthread_work