taskq(9f): Typos in the man page
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.
Updated by Electric Monk almost 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit c4921527904c6350c4ac33b0f936c4920cb38d39 Author: Adam Stevko <email@example.com> Date: 2015-09-29T21:35:40.000Z 5036 taskq(9f): Typos in the man page Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Marcel Telka <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>