Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread Drop trailing whitespace.



details:   https://anonhg.NetBSD.org/src/rev/e88d3ea09a91
branches:  trunk
changeset: 549072:e88d3ea09a91
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Jul 04 08:36:06 2003 +0000

description:
Drop trailing whitespace.

diffstat:

 lib/libpthread/pthread_barrier_init.3   |   8 ++++----
 lib/libpthread/pthread_barrier_wait.3   |   6 +++---
 lib/libpthread/pthread_cleanup_push.3   |   4 ++--
 lib/libpthread/pthread_cond_broadcast.3 |  10 +++++-----
 lib/libpthread/pthread_cond_init.3      |   4 ++--
 lib/libpthread/pthread_cond_wait.3      |   4 ++--
 lib/libpthread/pthread_mutex_lock.3     |   6 +++---
 lib/libpthread/pthread_mutexattr.3      |   6 +++---
 lib/libpthread/pthread_rwlock_rdlock.3  |   4 ++--
 lib/libpthread/pthread_rwlock_unlock.3  |   4 ++--
 lib/libpthread/pthread_rwlock_wrlock.3  |   6 +++---
 lib/libpthread/pthread_rwlockattr.3     |   4 ++--
 lib/libpthread/pthread_spin_init.3      |   6 +++---
 13 files changed, 36 insertions(+), 36 deletions(-)

diffs (truncated from 307 to 300 lines):

diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_barrier_init.3
--- a/lib/libpthread/pthread_barrier_init.3     Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_barrier_init.3     Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier_init.3,v 1.3 2003/07/01 10:23:52 wiz Exp $
+.\" $NetBSD: pthread_barrier_init.3,v 1.4 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -41,10 +41,10 @@
 The
 .Fn pthread_barrier_init
 function creates a new barrier, with attributes specified with
-.Fa attr 
-and 
+.Fa attr
+and
 .Fa count .
-The 
+The
 .Fa count
 parameter indicates the number of threads which will participate in the barrier.
 If
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_barrier_wait.3
--- a/lib/libpthread/pthread_barrier_wait.3     Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_barrier_wait.3     Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier_wait.3,v 1.2 2003/06/08 06:44:28 thorpej Exp $
+.\" $NetBSD: pthread_barrier_wait.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -41,7 +41,7 @@
 The
 .Fn pthread_barrier_wait
 function causes the current thread to wait on the barrier specified.
-Once as many threads as specified by the 
+Once as many threads as specified by the
 .Fa count
 parameter to the corresponding
 .Fn pthread_barrier_init
@@ -54,7 +54,7 @@
 If successful,
 .Fn pthread_barrier_wait
 will return zero for all waiting threads except for one.  One thread will
-receive status 
+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.
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_cleanup_push.3
--- a/lib/libpthread/pthread_cleanup_push.3     Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_cleanup_push.3     Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cleanup_push.3,v 1.2 2003/06/08 06:44:29 thorpej Exp $
+.\" $NetBSD: pthread_cleanup_push.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -94,7 +94,7 @@
 These functions may be implemented as macros which contain scope delimiters;
 therefore, there must be a matching
 .Fn pthread_cleanup_pop
-for every 
+for every
 .Fn pthread_cleanup_push
 at the same level of lexical scoping.
 .Pp
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_cond_broadcast.3
--- a/lib/libpthread/pthread_cond_broadcast.3   Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_cond_broadcast.3   Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond_broadcast.3,v 1.2 2003/06/08 06:44:29 thorpej Exp $
+.\" $NetBSD: pthread_cond_broadcast.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -76,7 +76,7 @@
 .Fa cond .
 If no threads are waiting on
 .Fa cond ,
-the 
+the
 .Fn pthead_cond_broadcast
 function has no effect.
 .Pp
@@ -86,19 +86,19 @@
 .Fa cond .
 If no threads are waiting on
 .Fa cond ,
-the 
+the
 .Fn pthead_cond_signal
 function has no effect.
 .Sh RETURN VALUES
 If successful, the
 .Fn pthread_cond_broadcast
-and 
+and
 .Fn pthread_cond_signal
 functions will return zero, otherwise an error number will be returned
 to indicate the error.
 .Sh ERRORS
 .Fn pthread_cond_broadcast
-and 
+and
 .Fn pthread_cond_signal
 may fail if:
 .Bl -tag -width Er
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_cond_init.3
--- a/lib/libpthread/pthread_cond_init.3        Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_cond_init.3        Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond_init.3,v 1.2 2003/06/08 06:44:30 thorpej Exp $
+.\" $NetBSD: pthread_cond_init.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -79,7 +79,7 @@
 the state of data shared between threads.  Condition variables are
 always associated with a mutex to provide syncronized access to the
 shared data.  A single predicate should always be assocateed with a
-condition variable.  The predicate should identify a state of the 
+condition variable.  The predicate should identify a state of the
 shared data that must be true before the thread proceeds.
 .Sh RETURN VALUES
 If successful, the
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_cond_wait.3
--- a/lib/libpthread/pthread_cond_wait.3        Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_cond_wait.3        Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond_wait.3,v 1.2 2003/06/08 06:44:30 thorpej Exp $
+.\" $NetBSD: pthread_cond_wait.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -83,7 +83,7 @@
 .Xr pthread_cond_broadcast 3
 with the same condition variable. The current thread holds the lock
 on
-.Fa mutex 
+.Fa mutex
 upon return from the
 .Fa pthread_cond_wait
 call.
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_mutex_lock.3
--- a/lib/libpthread/pthread_mutex_lock.3       Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_mutex_lock.3       Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_mutex_lock.3,v 1.3 2003/07/01 10:23:53 wiz Exp $
+.\" $NetBSD: pthread_mutex_lock.3,v 1.4 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -87,7 +87,7 @@
 .Sh RETURN VALUES
 If successful,
 .Fn pthread_mutex_lock
-and 
+and
 .Fn pthread_mutex_trylock
 will return zero, otherwise an error number will be returned to
 indicate the error.
@@ -126,7 +126,7 @@
 .Xr pthread_mutex_unlock 3
 .Sh STANDARDS
 .Fn pthread_mutex_lock
-and 
+and
 .Fn pthread_mutex_trylock
 conform to
 .St -p1003.1-96 .
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_mutexattr.3
--- a/lib/libpthread/pthread_mutexattr.3        Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_mutexattr.3        Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_mutexattr.3,v 1.2 2003/06/08 06:44:32 thorpej Exp $
+.\" $NetBSD: pthread_mutexattr.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -118,7 +118,7 @@
 .Dv PTHREAD_MUTEX_DEFAULT .
 .Pp
 .Dv PTHREAD_MUXEX_NORMAL
-mutexes do not check for usage errors.  
+mutexes do not check for usage errors.
 .Dv PTHREAD_MUTEX_NORMAL
 mutexes will deadlock if reentered, and result in undefined behavior if a
 locked mutex is unlocked by another thread.  Attempts to unlock an already
@@ -222,7 +222,7 @@
 .\" .Pp
 .Pp
 .Fn pthread_mutexattr_destroy ,
-.Fn pthread_mutexattr_settype , 
+.Fn pthread_mutexattr_settype ,
 and
 .Fn pthread_mutexattr_gettype
 may fail if:
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_rwlock_rdlock.3
--- a/lib/libpthread/pthread_rwlock_rdlock.3    Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_rwlock_rdlock.3    Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlock_rdlock.3,v 1.3 2003/07/01 10:23:53 wiz Exp $
+.\" $NetBSD: pthread_rwlock_rdlock.3,v 1.4 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -81,7 +81,7 @@
 immediately acquired, the calling thread blocks until it can
 acquire the lock.
 .Pp
-The 
+The
 .Fn pthread_rwlock_timedrdlock
 performs the same action, with but will not wait beyond
 .Fa abstime
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_rwlock_unlock.3
--- a/lib/libpthread/pthread_rwlock_unlock.3    Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_rwlock_unlock.3    Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlock_unlock.3,v 1.3 2003/07/01 10:23:53 wiz Exp $
+.\" $NetBSD: pthread_rwlock_unlock.3,v 1.4 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -97,7 +97,7 @@
 .Xr pthread_rwlock_init 3 ,
 .Xr pthread_rwlock_destroy 3 ,
 .Xr pthread_rwlock_rdlock 3 ,
-.Xr pthread_rwlock_wrlock 3 
+.Xr pthread_rwlock_wrlock 3
 .Sh STANDARDS
 .Fn pthread_rwlock_unlock
 conforms to
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_rwlock_wrlock.3
--- a/lib/libpthread/pthread_rwlock_wrlock.3    Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_rwlock_wrlock.3    Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlock_wrlock.3,v 1.2 2003/06/08 06:44:33 thorpej Exp $
+.\" $NetBSD: pthread_rwlock_wrlock.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -75,7 +75,7 @@
 function blocks until a write lock can be acquired against
 .Fa lock .
 .Pp
-The 
+The
 .Fn pthread_rwlock_timedwrlock
 performs the same action, with but will not wait beyond
 .Fa abstime
@@ -83,7 +83,7 @@
 .Pp
 The
 .Fn pthread_rwlock_trywrlock
-function performs the same action as 
+function performs the same action as
 .Fn pthread_rwlock_wrlock ,
 but does not block if the lock cannot be immediately obtained.
 .Pp
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_rwlockattr.3
--- a/lib/libpthread/pthread_rwlockattr.3       Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_rwlockattr.3       Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlockattr.3,v 1.3 2003/07/01 10:23:53 wiz Exp $
+.\" $NetBSD: pthread_rwlockattr.3,v 1.4 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -79,7 +79,7 @@
 .Sh RETURN VALUES
 If successful, the
 .Fn pthread_rwlockattr_init
-and 
+and
 .Fn pthread_rwlockattr_destroy
 functions return zero.  Otherwise an error number will be returned
 to indicate the error.
diff -r 44f58e044e4d -r e88d3ea09a91 lib/libpthread/pthread_spin_init.3
--- a/lib/libpthread/pthread_spin_init.3        Fri Jul 04 08:34:25 2003 +0000
+++ b/lib/libpthread/pthread_spin_init.3        Fri Jul 04 08:36:06 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_spin_init.3,v 1.2 2003/06/08 06:44:34 thorpej Exp $
+.\" $NetBSD: pthread_spin_init.3,v 1.3 2003/07/04 08:36:06 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -42,7 +42,7 @@
 .Fn pthread_spin_init
 function is used to initialize a spinlock.  The
 .Fa pshared
-parameter is currently unused and all spinlocks exhibit the 
+parameter is currently unused and all spinlocks exhibit the
 .Dv PTHREAD_PROCESS_SHARED
 property.
 .Pp
@@ -72,7 +72,7 @@
 .Fa lock



Home | Main Index | Thread Index | Old Index