diff options
author | pjd <pjd@FreeBSD.org> | 2009-08-18 13:55:48 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2009-08-18 13:55:48 +0000 |
commit | 099429aa324789b4d7ddacefdd2b9812b0579548 (patch) | |
tree | 3b8051efe67fb96978b5dfcb8c54a034239c9655 /share/man/man9/taskqueue.9 | |
parent | 4dfceb961eb98da9df84e23a8e629def2815a26b (diff) | |
download | FreeBSD-src-099429aa324789b4d7ddacefdd2b9812b0579548.zip FreeBSD-src-099429aa324789b4d7ddacefdd2b9812b0579548.tar.gz |
Remove unused taskqueue_find() function.
Reviewed by: dfr
Approved by: re (kib)
Diffstat (limited to 'share/man/man9/taskqueue.9')
-rw-r--r-- | share/man/man9/taskqueue.9 | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9 index 553010b..5a6f920 100644 --- a/share/man/man9/taskqueue.9 +++ b/share/man/man9/taskqueue.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 17, 2009 +.Dd August 18, 2009 .Dt TASKQUEUE 9 .Os .Sh NAME @@ -59,8 +59,6 @@ struct task { .Fn taskqueue_create_fast "const char *name" "int mflags" "taskqueue_enqueue_fn enqueue" "void *context" .Ft void .Fn taskqueue_free "struct taskqueue *queue" -.Ft struct taskqueue * -.Fn taskqueue_find "const char *name" .Ft int .Fn taskqueue_enqueue "struct taskqueue *queue" "struct task *task" .Ft int @@ -115,16 +113,10 @@ should be used in place of .Pp The function .Fn taskqueue_free -should be used to remove the queue from the global list of queues -and free the memory used by the queue. +should be used to free the memory used by the queue. Any tasks that are on the queue will be executed at this time after which the thread servicing the queue will be signaled that it should exit. .Pp -The system maintains a list of all queues which can be searched using -.Fn taskqueue_find . -The first queue whose name matches is returned, otherwise -.Dv NULL . -.Pp To add a task to the list of tasks queued on a taskqueue, call .Fn taskqueue_enqueue with pointers to the queue and task. |