Module Name: src
Committed By: wiz
Date: Fri Jul 9 20:56:01 UTC 2010
Modified Files:
src/lib/libpthread: pthread_cond.3
Log Message:
Fix typo.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libpthread/pthread_cond.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread_cond.3
diff -u src/lib/libpthread/pthread_cond.3:1.4 src/lib/libpthread/pthread_cond.3:1.5
--- src/lib/libpthread/pthread_cond.3:1.4 Fri Jul 9 18:01:53 2010
+++ src/lib/libpthread/pthread_cond.3 Fri Jul 9 20:56:01 2010
@@ -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 @@
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.