diff options
| author | peter <peter@NetBSD.org> | 2005-06-17 18:07:06 +0000 |
|---|---|---|
| committer | peter <peter@NetBSD.org> | 2005-06-17 18:07:06 +0000 |
| commit | 568accb2c0b5fcaf99dea08848de2c46813efe2f (patch) | |
| tree | 0131edf8b2c75533e50ad2a1287d3c753b17a0db /lib/libpthread | |
| parent | 97c5e2ee7265d65f4e3222d30f580c61ed7f8665 (diff) | |
Fix various spelling errors.
From Igor Sobrado in PR/29997.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/pthread_barrier_destroy.3 | 4 | ||||
| -rw-r--r-- | lib/libpthread/pthread_barrier_init.3 | 4 | ||||
| -rw-r--r-- | lib/libpthread/pthread_barrier_wait.3 | 6 | ||||
| -rw-r--r-- | lib/libpthread/pthread_barrierattr.3 | 4 | ||||
| -rw-r--r-- | lib/libpthread/pthread_cond_broadcast.3 | 6 | ||||
| -rw-r--r-- | lib/libpthread/pthread_cond_init.3 | 4 | ||||
| -rw-r--r-- | lib/libpthread/pthread_condattr.3 | 4 | ||||
| -rw-r--r-- | lib/libpthread/pthread_mutexattr.3 | 8 | ||||
| -rw-r--r-- | lib/libpthread/pthread_rwlockattr.3 | 4 | ||||
| -rw-r--r-- | lib/libpthread/pthread_spin_init.3 | 4 |
10 files changed, 24 insertions, 24 deletions
diff --git a/lib/libpthread/pthread_barrier_destroy.3 b/lib/libpthread/pthread_barrier_destroy.3 index 13dfc8510b6..d6e1f486f40 100644 --- a/lib/libpthread/pthread_barrier_destroy.3 +++ b/lib/libpthread/pthread_barrier_destroy.3 @@ -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 --git a/lib/libpthread/pthread_barrier_init.3 b/lib/libpthread/pthread_barrier_init.3 index 62ec3fcf5a4..d131d1b5f5c 100644 --- a/lib/libpthread/pthread_barrier_init.3 +++ b/lib/libpthread/pthread_barrier_init.3 @@ -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 @@ The value specified by .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 --git a/lib/libpthread/pthread_barrier_wait.3 b/lib/libpthread/pthread_barrier_wait.3 index 31327724a47..99c6d755327 100644 --- a/lib/libpthread/pthread_barrier_wait.3 +++ b/lib/libpthread/pthread_barrier_wait.3 @@ -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 @@ If successful, 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 --git a/lib/libpthread/pthread_barrierattr.3 b/lib/libpthread/pthread_barrierattr.3 index f6f8b785f6a..482845af666 100644 --- a/lib/libpthread/pthread_barrierattr.3 +++ b/lib/libpthread/pthread_barrierattr.3 @@ -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 @@ Otherwise, an error number is returned to indicate the error. 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 --git a/lib/libpthread/pthread_cond_broadcast.3 b/lib/libpthread/pthread_cond_broadcast.3 index 3389a4cba18..f7c394238aa 100644 --- a/lib/libpthread/pthread_cond_broadcast.3 +++ b/lib/libpthread/pthread_cond_broadcast.3 @@ -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 @@ function unblocks all threads waiting for the condition variable 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 @@ function unblocks one thread waiting for the condition variable 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 --git a/lib/libpthread/pthread_cond_init.3 b/lib/libpthread/pthread_cond_init.3 index ac389c58c01..962e213216a 100644 --- a/lib/libpthread/pthread_cond_init.3 +++ b/lib/libpthread/pthread_cond_init.3 @@ -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 @@ is NULL the default attributes are used. .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 --git a/lib/libpthread/pthread_condattr.3 b/lib/libpthread/pthread_condattr.3 index c9c561184d0..2380c5cd91b 100644 --- a/lib/libpthread/pthread_condattr.3 +++ b/lib/libpthread/pthread_condattr.3 @@ -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 @@ Otherwise, an error number is returned to indicate the error. 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 --git a/lib/libpthread/pthread_mutexattr.3 b/lib/libpthread/pthread_mutexattr.3 index 7fff6a514a8..207ff78211f 100644 --- a/lib/libpthread/pthread_mutexattr.3 +++ b/lib/libpthread/pthread_mutexattr.3 @@ -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 @@ mutex without first dropping the lock an error will be returned. If a thread 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 @@ number of 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 @@ Otherwise, an error number is returned to indicate the error. 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 --git a/lib/libpthread/pthread_rwlockattr.3 b/lib/libpthread/pthread_rwlockattr.3 index f673ba2e5a4..28d4dd8d362 100644 --- a/lib/libpthread/pthread_rwlockattr.3 +++ b/lib/libpthread/pthread_rwlockattr.3 @@ -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 @@ to indicate the error. 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 --git a/lib/libpthread/pthread_spin_init.3 b/lib/libpthread/pthread_spin_init.3 index 83a10a7e333..b5716906c8c 100644 --- a/lib/libpthread/pthread_spin_init.3 +++ b/lib/libpthread/pthread_spin_init.3 @@ -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 @@ The 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 |
