Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/lib/libpthread Pull up revision 1.6 (requested by kleink ...
details: https://anonhg.NetBSD.org/src/rev/158bd9055327
branches: netbsd-3
changeset: 574980:158bd9055327
user: tron <tron%NetBSD.org@localhost>
date: Tue Mar 22 15:22:58 2005 +0000
description:
Pull up revision 1.6 (requested by kleink in ticket #46):
Add restrict qualifiers to <pthread.h> function arguments.
diffstat:
lib/libpthread/pthread_barrier_init.3 | 4 ++--
lib/libpthread/pthread_cond_wait.3 | 6 +++---
lib/libpthread/pthread_rwlock_init.3 | 4 ++--
lib/libpthread/pthread_rwlock_wrlock.3 | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
diffs (75 lines):
diff -r 2db8e0a034c9 -r 158bd9055327 lib/libpthread/pthread_barrier_init.3
--- a/lib/libpthread/pthread_barrier_init.3 Tue Mar 22 15:22:53 2005 +0000
+++ b/lib/libpthread/pthread_barrier_init.3 Tue Mar 22 15:22:58 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_barrier_init.3,v 1.5 2003/07/04 08:41:25 wiz Exp $
+.\" $NetBSD: pthread_barrier_init.3,v 1.5.6.1 2005/03/22 15:22:58 tron Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -36,7 +36,7 @@
.Sh SYNOPSIS
.In pthread.h
.Ft int
-.Fn pthread_barrier_init "pthread_barrier_t *barrier" "const pthread_barrierattr_t *attr" "unsigned int count"
+.Fn pthread_barrier_init "pthread_barrier_t * restrict barrier" "const pthread_barrierattr_t * restrict attr" "unsigned int count"
.Sh DESCRIPTION
The
.Fn pthread_barrier_init
diff -r 2db8e0a034c9 -r 158bd9055327 lib/libpthread/pthread_cond_wait.3
--- a/lib/libpthread/pthread_cond_wait.3 Tue Mar 22 15:22:53 2005 +0000
+++ b/lib/libpthread/pthread_cond_wait.3 Tue Mar 22 15:22:58 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond_wait.3,v 1.5 2003/07/04 10:19:42 wiz Exp $
+.\" $NetBSD: pthread_cond_wait.3,v 1.5.6.1 2005/03/22 15:22:58 tron Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -66,9 +66,9 @@
.Sh SYNOPSIS
.In pthread.h
.Ft int
-.Fn pthread_cond_wait "pthread_cond_t *cond" "pthread_mutex_t *mutex"
+.Fn pthread_cond_wait "pthread_cond_t * restrict cond" "pthread_mutex_t * restrict mutex"
.Ft int
-.Fn pthread_cond_timedwait "pthread_cond_t *cond" "pthread_mutex_t *mutex" "const struct timespec *abstime"
+.Fn pthread_cond_timedwait "pthread_cond_t * restrict cond" "pthread_mutex_t * restrict mutex" "const struct timespec * restrict abstime"
.Sh DESCRIPTION
The
.Fn pthread_cond_wait
diff -r 2db8e0a034c9 -r 158bd9055327 lib/libpthread/pthread_rwlock_init.3
--- a/lib/libpthread/pthread_rwlock_init.3 Tue Mar 22 15:22:53 2005 +0000
+++ b/lib/libpthread/pthread_rwlock_init.3 Tue Mar 22 15:22:58 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlock_init.3,v 1.5 2003/07/04 11:55:58 wiz Exp $
+.\" $NetBSD: pthread_rwlock_init.3,v 1.5.6.1 2005/03/22 15:22:58 tron Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -62,7 +62,7 @@
.Sh SYNOPSIS
.In pthread.h
.Ft int
-.Fn pthread_rwlock_init "pthread_rwlock_t *lock" "const pthread_rwlockattr_t *attr"
+.Fn pthread_rwlock_init "pthread_rwlock_t * restrict lock" "const pthread_rwlockattr_t * restrict attr"
.Sh DESCRIPTION
The
.Fn pthread_rwlock_init
diff -r 2db8e0a034c9 -r 158bd9055327 lib/libpthread/pthread_rwlock_wrlock.3
--- a/lib/libpthread/pthread_rwlock_wrlock.3 Tue Mar 22 15:22:53 2005 +0000
+++ b/lib/libpthread/pthread_rwlock_wrlock.3 Tue Mar 22 15:22:58 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_rwlock_wrlock.3,v 1.5 2003/07/04 11:59:34 wiz Exp $
+.\" $NetBSD: pthread_rwlock_wrlock.3,v 1.5.6.1 2005/03/22 15:22:58 tron Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -66,7 +66,7 @@
.Ft int
.Fn pthread_rwlock_wrlock "pthread_rwlock_t *lock"
.Ft int
-.Fn pthread_rwlock_timedwrlock "pthread_rwlock_t *lock" "const struct timespec *abstime"
+.Fn pthread_rwlock_timedwrlock "pthread_rwlock_t * restrict lock" "const struct timespec * restrict abstime"
.Ft int
.Fn pthread_rwlock_trywrlock "pthread_rwlock_t *lock"
.Sh DESCRIPTION
Home |
Main Index |
Thread Index |
Old Index