summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-11-25 15:58:30 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-11-25 15:58:30 +0000
commitc891391e622c28fb2a2c3112e7cbd1a27da457e3 (patch)
tree3aa790ad8ea8ccffeb552c3425bcb99ed3be70aa /share/man
parentff0920e03a1093cef2cfb170b73715f7a309db22 (diff)
document new WQ_DIRECTOK flag
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/workq_add_task.97
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man9/workq_add_task.9 b/share/man/man9/workq_add_task.9
index da3d97d71cc..498c95db771 100644
--- a/share/man/man9/workq_add_task.9
+++ b/share/man/man9/workq_add_task.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: workq_add_task.9,v 1.6 2007/11/24 14:34:23 tedu Exp $
+.\" $OpenBSD: workq_add_task.9,v 1.7 2007/11/25 15:58:29 tedu Exp $
.\"
.\" Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
.\"
@@ -24,7 +24,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 24 2007 $
+.Dd $Mdocdate: November 25 2007 $
.Dt WORKQ_ADD_TASK 9
.Os
.Sh NAME
@@ -80,6 +80,9 @@ If resources are not available and this flag is not set then
.Fn workq_add_task
will return
.Dv ENOMEM .
+.It Dv WQ_DIRECTOK
+If the workq argument is NULL, process the request immediately instead of
+queueing until threads are ready.
.El
.Pp
.Fn workq_create