summaryrefslogtreecommitdiffstats
path: root/share/man/man9/taskqueue.9
diff options
context:
space:
mode:
authordavidc <davidc@FreeBSD.org>2001-12-26 23:14:04 +0000
committerdavidc <davidc@FreeBSD.org>2001-12-26 23:14:04 +0000
commit6b067561b6c9b4ed2b47f2a1a291bca65015c9e7 (patch)
tree098933308a14df670e3b72970203b08aa5f907a1 /share/man/man9/taskqueue.9
parent70547e89ed70bdc238efd1cf623ee7af6ebcdc84 (diff)
downloadFreeBSD-src-6b067561b6c9b4ed2b47f2a1a291bca65015c9e7.zip
FreeBSD-src-6b067561b6c9b4ed2b47f2a1a291bca65015c9e7.tar.gz
Update function definitions and required include files to reflect
the current state of the system. Approved by: alfred
Diffstat (limited to 'share/man/man9/taskqueue.9')
-rw-r--r--share/man/man9/taskqueue.96
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9
index adb71b6..ec5d0b2 100644
--- a/share/man/man9/taskqueue.9
+++ b/share/man/man9/taskqueue.9
@@ -36,6 +36,8 @@
.Nd asynchronous task execution
.Sh SYNOPSIS
.In sys/param.h
+.In sys/kernel.h
+.In sys/malloc.h
.In sys/queue.h
.In sys/taskqueue.h
.Bd -literal
@@ -63,9 +65,9 @@ struct task {
.Fn taskqueue_enqueue "struct taskqueue *queue" "struct task *task"
.Ft void
.Fn taskqueue_run "struct taskqueue *queue"
-.Fn TASK_INIT "task" "priority" "func" "context"
+.Fn TASK_INIT "struct task *task" "int priority" "task_fn_t *func" "void *context"
.Fn TASKQUEUE_DECLARE "name"
-.Fn TASKQUEUE_DEFINE "name" "enqueue" "context" "init"
+.Fn TASKQUEUE_DEFINE "name" "taskqueue_enqueue_fn enqueue" "void *context" "init"
.Sh DESCRIPTION
These functions provide a simple interface for asynchronous execution
of code.
OpenPOWER on IntegriCloud