Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread Fix various spelling errors.



details:   https://anonhg.NetBSD.org/src/rev/8f0962d57c43
branches:  trunk
changeset: 582118:8f0962d57c43
user:      peter <peter%NetBSD.org@localhost>
date:      Fri Jun 17 18:07:06 2005 +0000

description:
Fix various spelling errors.

>From Igor Sobrado in PR/29997.

diffstat:

 lib/libpthread/pthread_barrier_destroy.3 |  4 ++--
 lib/libpthread/pthread_barrier_init.3    |  4 ++--
 lib/libpthread/pthread_barrier_wait.3    |  6 +++---
 lib/libpthread/pthread_barrierattr.3     |  4 ++--
 lib/libpthread/pthread_cond_broadcast.3  |  6 +++---
 lib/libpthread/pthread_cond_init.3       |  4 ++--
 lib/libpthread/pthread_condattr.3        |  4 ++--
 lib/libpthread/pthread_mutexattr.3       |  8 ++++----
 lib/libpthread/pthread_rwlockattr.3      |  4 ++--
 lib/libpthread/pthread_spin_init.3       |  4 ++--
 10 files changed, 24 insertions(+), 24 deletions(-)

diffs (209 lines):

diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_barrier_destroy.3
--- a/lib/libpthread/pthread_barrier_destroy.3  Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_barrier_destroy.3  Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier_destroy.3,v 1.3 2003/07/04 08:41:25 wiz Exp $
+.\" $NetBSD: pthread_barrier_destroy.3,v 1.4 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .Dt PTHREAD_BARRIER_DESTROY 3
 .Os
 .Sh NAME
-.Nm pthread_barrier_destory
+.Nm pthread_barrier_destroy
 .Nd destroy a barrier
 .Sh LIBRARY
 .Lb libpthread
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_barrier_init.3
--- a/lib/libpthread/pthread_barrier_init.3     Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_barrier_init.3     Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier_init.3,v 1.6 2005/03/21 17:55:07 kleink Exp $
+.\" $NetBSD: pthread_barrier_init.3,v 1.7 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -68,7 +68,7 @@
 .Fa count
 is zero.
 .It Bq Er ENOMEM
-Insufficent memory exists to initialize the barrier.
+Insufficient memory exists to initialize the barrier.
 .El
 .Pp
 .Fn pthread_barrier_init
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_barrier_wait.3
--- a/lib/libpthread/pthread_barrier_wait.3     Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_barrier_wait.3     Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier_wait.3,v 1.4 2003/07/04 08:41:25 wiz Exp $
+.\" $NetBSD: pthread_barrier_wait.3,v 1.5 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -56,8 +56,8 @@
 will return zero for all waiting threads except for one.  One thread will
 receive status
 .Dv PTHREAD_BARRIER_SERIAL_THREAD ,
-which is intended to indicate that this thead may be used to update
-shared data.  It is the responsibilty of this thread to insure the visibility and atomicity of any updates to shared data with respect to the other threads participating in the barrier.
+which is intended to indicate that this thread may be used to update
+shared data.  It is the responsibility of this thread to insure the visibility and atomicity of any updates to shared data with respect to the other threads participating in the barrier.
 In the case of failure, an error value will be returned.
 .Sh ERRORS
 .Fn pthread_barrier_wait
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_barrierattr.3
--- a/lib/libpthread/pthread_barrierattr.3      Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_barrierattr.3      Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrierattr.3,v 1.4 2003/11/02 11:18:10 wiz Exp $
+.\" $NetBSD: pthread_barrierattr.3,v 1.5 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -65,7 +65,7 @@
 shall fail if:
 .Bl -tag -width Er
 .It Bq Er ENOMEM
-Insufficent memory exists to initialize the barrier attributes object.
+Insufficient memory exists to initialize the barrier attributes object.
 .El
 .Pp
 .Fn pthread_barrierattr_init
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_cond_broadcast.3
--- a/lib/libpthread/pthread_cond_broadcast.3   Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_cond_broadcast.3   Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond_broadcast.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
+.\" $NetBSD: pthread_cond_broadcast.3,v 1.4 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -77,7 +77,7 @@
 If no threads are waiting on
 .Fa cond ,
 the
-.Fn pthead_cond_broadcast
+.Fn pthread_cond_broadcast
 function has no effect.
 .Pp
 The
@@ -87,7 +87,7 @@
 If no threads are waiting on
 .Fa cond ,
 the
-.Fn pthead_cond_signal
+.Fn pthread_cond_signal
 function has no effect.
 .Sh RETURN VALUES
 If successful, the
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_cond_init.3
--- a/lib/libpthread/pthread_cond_init.3        Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_cond_init.3        Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond_init.3,v 1.5 2005/03/21 17:55:07 kleink Exp $
+.\" $NetBSD: pthread_cond_init.3,v 1.6 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -77,7 +77,7 @@
 .Pp
 Condition variables are intended to be used to communicate changes in
 the state of data shared between threads.  Condition variables are
-always associated with a mutex to provide syncronized access to the
+always associated with a mutex to provide synchronized access to the
 shared data.  A single predicate should always be associated with a
 condition variable.  The predicate should identify a state of the
 shared data that must be true before the thread proceeds.
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_condattr.3
--- a/lib/libpthread/pthread_condattr.3 Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_condattr.3 Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_condattr.3,v 1.2 2003/06/08 06:44:30 thorpej Exp $
+.\" $NetBSD: pthread_condattr.3,v 1.3 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -86,7 +86,7 @@
 shall fail if:
 .Bl -tag -width Er
 .It Bq Er ENOMEM
-Insufficent memory exists to initialize the condition attribute object.
+Insufficient memory exists to initialize the condition attribute object.
 .El
 .Pp
 .Fn pthread_condattr_destroy
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_mutexattr.3
--- a/lib/libpthread/pthread_mutexattr.3        Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_mutexattr.3        Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_mutexattr.3,v 1.4 2005/03/21 17:55:07 kleink Exp $
+.\" $NetBSD: pthread_mutexattr.3,v 1.5 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -134,7 +134,7 @@
 attempts to unlock a
 .Dv PTHREAD_MUTEX_ERRORCHECK
 mutex that is locked by another thread, an error will be returned.  If a
-thread attemps to unlock a
+thread attempts to unlock a
 .Dv PTHREAD_MUTEX_ERRORCHECK
 thread that is unlocked, an error will be
 returned.
@@ -149,7 +149,7 @@
 calls are needed before the mutex will wake another thread waiting on this
 lock.  If a thread attempts to unlock a
 .Dv PTHREAD_MUTEX_RECURSIVE
-mutex that is locked by another thread, an error will be returned.  If a thread attemps to unlock a
+mutex that is locked by another thread, an error will be returned.  If a thread attempts to unlock a
 .Dv PTHREAD_MUTEX_RECURSIVE
 thread that is unlocked, an error will be returned.
 .Pp
@@ -172,7 +172,7 @@
 shall fail if:
 .Bl -tag -width Er
 .It Bq Er ENOMEM
-Insufficent memory exists to initialize the mutex attributes object.
+Insufficient memory exists to initialize the mutex attributes object.
 .El
 .Pp
 .Fn pthread_mutexattr_settype
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_rwlockattr.3
--- a/lib/libpthread/pthread_rwlockattr.3       Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_rwlockattr.3       Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlockattr.3,v 1.4 2003/07/04 08:36:06 wiz Exp $
+.\" $NetBSD: pthread_rwlockattr.3,v 1.5 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -88,7 +88,7 @@
 shall fail if:
 .Bl -tag -width Er
 .It Bq Er ENOMEM
-Insufficent memory exists to initialize the read/write lock attributes object.
+Insufficient memory exists to initialize the read/write lock attributes object.
 .El
 .Pp
 .Fn pthread_rwlockattr_init
diff -r 819ac854961f -r 8f0962d57c43 lib/libpthread/pthread_spin_init.3
--- a/lib/libpthread/pthread_spin_init.3        Fri Jun 17 17:49:07 2005 +0000
+++ b/lib/libpthread/pthread_spin_init.3        Fri Jun 17 18:07:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_spin_init.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
+.\" $NetBSD: pthread_spin_init.3,v 1.4 2005/06/17 18:07:06 peter Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -60,7 +60,7 @@
 function shall fail if:
 .Bl -tag -width Er
 .It Bq Er ENOMEM
-Insuffucent memory exists to initialize the lock.
+Insufficient memory exists to initialize the lock.
 .El
 .Pp
 The



Home | Main Index | Thread Index | Old Index