diff options
author | ru <ru@FreeBSD.org> | 2005-01-12 21:48:25 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-12 21:48:25 +0000 |
commit | 024faad271beb979616e7563af236c1dcc0976db (patch) | |
tree | 55387cdd0f8237d019daf115b9f1109b18fa54ef /share/man/man9/taskqueue.9 | |
parent | 4b344b0b27bf042f8881d962c957e2cfcde2366a (diff) | |
download | FreeBSD-src-024faad271beb979616e7563af236c1dcc0976db.zip FreeBSD-src-024faad271beb979616e7563af236c1dcc0976db.tar.gz |
Scheduled mdoc(7) sweep.
Diffstat (limited to 'share/man/man9/taskqueue.9')
-rw-r--r-- | share/man/man9/taskqueue.9 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9 index add0a65..1a53911 100644 --- a/share/man/man9/taskqueue.9 +++ b/share/man/man9/taskqueue.9 @@ -166,7 +166,7 @@ Three macros and .Fn TASKQUEUE_DEFINE_THREAD "name" are used to declare a reference to a global queue, to define the -implementation of the queue, and declare a queue that uses it's own thread. +implementation of the queue, and declare a queue that uses its own thread. The .Fn TASKQUEUE_DEFINE macro arranges to call @@ -187,8 +187,8 @@ allowing any further initialisation to be performed .Pp The .Fn TASKQUEUE_DEFINE_THREAD -macro defines a new taskqueue with it's own kernel thread to serve tasks. The -variable +macro defines a new taskqueue with its own kernel thread to serve tasks. +The variable .Vt struct proc *taskqueue_name_proc is defined which contains the kernel thread serving the tasks. The variable @@ -213,12 +213,11 @@ To use these queues, call .Fn taskqueue_enqueue with the value of the global taskqueue variable for the queue you wish to -use ( -.Va taskqueue_swi , +use +.Va ( taskqueue_swi , .Va taskqueue_swi_giant , or -.Va taskqueue_thread -). +.Va taskqueue_thread ) . .Pp The software interrupt queues can be used, for instance, for implementing interrupt handlers which must perform a |