diff options
author | Matthew D Fleming <mdf@FreeBSD.org> | 2010-10-12 18:36:03 +0000 |
---|---|---|
committer | Matthew D Fleming <mdf@FreeBSD.org> | 2010-10-12 18:36:03 +0000 |
commit | a92f0ee8664a4f5f6e6cdc5a20f7e97c808de05a (patch) | |
tree | 876724459ab9be381dd89acdb1b5e8dfdabdc332 /sys/sys/taskqueue.h | |
parent | f3bf9b7a16d86de525a07b095a28ba1068cadf6f (diff) | |
download | src-a92f0ee8664a4f5f6e6cdc5a20f7e97c808de05a.tar.gz src-a92f0ee8664a4f5f6e6cdc5a20f7e97c808de05a.zip |
Re-expose and briefly document taskqueue_run(9). The function is used
in at least one 3rd party driver.
Requested by: jhb
Notes
Notes:
svn path=/head/; revision=213739
Diffstat (limited to 'sys/sys/taskqueue.h')
-rw-r--r-- | sys/sys/taskqueue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/taskqueue.h b/sys/sys/taskqueue.h index 2490deb3c0f7..2d770b90d0d3 100644 --- a/sys/sys/taskqueue.h +++ b/sys/sys/taskqueue.h @@ -56,6 +56,7 @@ int taskqueue_start_threads(struct taskqueue **tqp, int count, int pri, int taskqueue_enqueue(struct taskqueue *queue, struct task *task); void taskqueue_drain(struct taskqueue *queue, struct task *task); void taskqueue_free(struct taskqueue *queue); +void taskqueue_run(struct taskqueue *queue, struct task **tpp); void taskqueue_block(struct taskqueue *queue); void taskqueue_unblock(struct taskqueue *queue); int taskqueue_member(struct taskqueue *queue, struct thread *td); |