summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2010-07-22 16:41:09 +0000
committermdf <mdf@FreeBSD.org>2010-07-22 16:41:09 +0000
commitfa23fa820ab654dffda5fdb3a938f75cf77b3646 (patch)
tree3a37e0a8990ba91718b1b54ff6cb60d91c9caa49 /share
parentf6fa9f4a32c433b96c8e6546a8d2f762455f9055 (diff)
downloadFreeBSD-src-fa23fa820ab654dffda5fdb3a938f75cf77b3646.zip
FreeBSD-src-fa23fa820ab654dffda5fdb3a938f75cf77b3646.tar.gz
Fix taskqueue_drain(9) to not have false negatives. For threaded
taskqueues, more than one task can be running simultaneously. Also make taskqueue_run(9) static to the file, since there are no consumers in the base kernel and the function signature needs to change with this fix. Remove mention of taskqueue_run(9) and taskqueue_run_fast(9) from the taskqueue(9) man page. Reviewed by: jhb Approved by: zml (mentor)
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/taskqueue.910
1 files changed, 0 insertions, 10 deletions
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9
index 5a6f920..d45b187 100644
--- a/share/man/man9/taskqueue.9
+++ b/share/man/man9/taskqueue.9
@@ -64,10 +64,6 @@ struct task {
.Ft int
.Fn taskqueue_enqueue_fast "struct taskqueue *queue" "struct task *task"
.Ft void
-.Fn taskqueue_run "struct taskqueue *queue"
-.Ft void
-.Fn taskqueue_run_fast "struct taskqueue *queue"
-.Ft void
.Fn taskqueue_drain "struct taskqueue *queue" "struct task *task"
.Ft int
.Fn taskqueue_member "struct taskqueue *queue" "struct thread *td"
@@ -143,12 +139,6 @@ when the enqueuing must happen from a fast interrupt handler.
This method uses spin locks to avoid the possibility of sleeping in the fast
interrupt context.
.Pp
-To execute all the tasks on a queue,
-call
-.Fn taskqueue_run
-or
-.Fn taskqueue_run_fast
-depending on the flavour of the queue.
When a task is executed,
first it is removed from the queue,
the value of
OpenPOWER on IntegriCloud