Project

General

Profile

Bug #5036

taskq(9f): Typos in the man page

Added by Marcel Telka over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
manpage - manual pages
Start date:
2014-07-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The "but a have a thread" in the taskq(9f) man page should be changed to "but you have a thread":

         3.   You have a task that needs to block  (for  example,
              to  wait for memory), but a have a thread that can-
              not block in its current context.

Here, the "and" word should be removed:

     executed in any order. Note that since tasks are placed on a
     list,  execution  of  one  task and should not depend on the
     execution of another task or a deadlock may occur.  A  taskq

The information that a task queue with a single service thread guarantees that the tasks are executed in the order they were dispatched is twice in the following paragraph:

     A task queue consists of a list of tasks, together with  one
     or  more  threads to service the list. If a task queue has a
     single service thread, all tasks are guaranteed  to  execute
     in  the  order  they  were dispatched. Otherwise they can be
     executed in any order. Note that since tasks are placed on a
     list,  execution  of  one  task and should not depend on the
     execution of another task or a deadlock may occur.  A  taskq
     created  with  a single servicing thread guarantees that all
     the tasks are serviced  in  the  order  in  which  they  are
     scheduled.

Also available in: Atom PDF