Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread Refer to init_routine in the DESCRIPTION sect...



details:   https://anonhg.NetBSD.org/src/rev/7da0389daafe
branches:  trunk
changeset: 782657:7da0389daafe
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Nov 12 23:28:11 2012 +0000

description:
Refer to init_routine in the DESCRIPTION section with .Fa instead of .Fn

diffstat:

 lib/libpthread/pthread_once.3 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 89dfca136e34 -r 7da0389daafe lib/libpthread/pthread_once.3
--- a/lib/libpthread/pthread_once.3     Mon Nov 12 23:11:05 2012 +0000
+++ b/lib/libpthread/pthread_once.3     Mon Nov 12 23:28:11 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_once.3,v 1.8 2012/11/12 23:11:05 uwe Exp $
+.\" $NetBSD: pthread_once.3,v 1.9 2012/11/12 23:28:11 uwe Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -74,18 +74,18 @@
 by any thread in a process, with a given
 .Fa once_control ,
 will call the
-.Fn init_routine
+.Fa init_routine Ns ()
 with no arguments.
 Subsequent calls to
 .Fn pthread_once
 with the same
 .Fa once_control
 will not call the
-.Fn init_routine .
+.Fa init_routine Ns ().
 On return from
 .Fn pthread_once ,
 it is guaranteed that
-.Fn init_routine
+.Fa init_routine Ns ()
 has completed.
 The
 .Fa once_control
@@ -96,7 +96,7 @@
 .Fn pthread_once
 is not a cancellation point.
 However, if
-.Fn init_routine
+.Fa init_routine Ns ()
 is a cancellation point and is cancelled, the effect on
 .Fa once_control
 is as if



Home | Main Index | Thread Index | Old Index