From 6b067561b6c9b4ed2b47f2a1a291bca65015c9e7 Mon Sep 17 00:00:00 2001 From: davidc Date: Wed, 26 Dec 2001 23:14:04 +0000 Subject: Update function definitions and required include files to reflect the current state of the system. Approved by: alfred --- share/man/man9/taskqueue.9 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'share/man/man9/taskqueue.9') 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. -- cgit v1.1