summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2010-07-09 20:56:01 +0000
committerwiz <wiz@NetBSD.org>2010-07-09 20:56:01 +0000
commitbb4a6891d0ab9f28920512c583ee64b4bf4bb886 (patch)
tree9d5cef1f228eb0e2939f799315a68f04c5037548 /lib/libpthread
parent419f3b11a1782ee3a245b10bf77ce402f4f5219b (diff)
Fix typo.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_cond.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/pthread_cond.3 b/lib/libpthread/pthread_cond.3
index ce2d645e62e..0c87bdf8e39 100644
--- a/lib/libpthread/pthread_cond.3
+++ b/lib/libpthread/pthread_cond.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond.3,v 1.4 2010/07/09 18:01:53 jruoho Exp $
+.\" $NetBSD: pthread_cond.3,v 1.5 2010/07/09 20:56:01 wiz Exp $
.\"
.\" Copyright (c) 2002, 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -126,7 +126,7 @@ is that the former unblocks all threads waiting for the condition variable,
whereas the latter blocks only one waiting thread.
If no threads are waiting on
.Fa cond ,
-neihter function has any effect.
+neither function has any effect.
If more than one thread is blocked on a condition variable,
the used scheduling policy determines the order in which threads are unblocked.
The same mutex used for waiting must be held while calling either function.