Project

General

Profile

Bug #5036

taskq(9f): Typos in the man page

Added by Marcel Telka over 5 years ago. Updated about 4 years ago.

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

100%

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

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.

History

#1

Updated by Marcel Telka over 5 years ago

  • Subject changed from Typo in taskq(9f) man page: but a have a thread to taskq(9f): Typos in the man page
#2

Updated by Marcel Telka over 4 years ago

  • Assignee set to Adam ┼átevko
#3

Updated by Electric Monk about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit c4921527904c6350c4ac33b0f936c4920cb38d39

commit  c4921527904c6350c4ac33b0f936c4920cb38d39
Author: Adam Stevko <adam.stevko@gmail.com>
Date:   2015-09-29T21:35:40.000Z

    5036 taskq(9f): Typos in the man page
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF