summaryrefslogtreecommitdiffstats
path: root/man3/pthread_attr_init.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/pthread_attr_init.3')
-rw-r--r--man3/pthread_attr_init.340
1 files changed, 20 insertions, 20 deletions
diff --git a/man3/pthread_attr_init.3 b/man3/pthread_attr_init.3
index dfd5ac67f..b7c34180f 100644
--- a/man3/pthread_attr_init.3
+++ b/man3/pthread_attr_init.3
@@ -27,7 +27,7 @@ with default attribute values.
After this call, individual attributes of the object can be set
using various related functions (listed under SEE ALSO),
and then the object can be used in one or more
-.BR pthread_create (3)
+.MR pthread_create 3
calls that create threads.
.P
Calling
@@ -60,7 +60,7 @@ on Linux these functions always succeed
handle a possible error return).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -89,7 +89,7 @@ The program below optionally makes use of
and various related functions to initialize a thread attributes
object that is used to create a single thread.
Once created, the thread uses the
-.BR pthread_getattr_np (3)
+.MR pthread_getattr_np 3
function (a nonstandard GNU extension) to retrieve the thread's
attributes, and then displays those attributes.
.P
@@ -97,7 +97,7 @@ If the program is run with no command-line argument,
then it passes NULL as the
.I attr
argument of
-.BR pthread_create (3),
+.MR pthread_create 3 ,
so that the thread is created with default attributes.
Running the program on Linux/x86-32 with the NPTL threading implementation,
we see the following:
@@ -124,7 +124,7 @@ When we supply a stack size as a command-line argument,
the program initializes a thread attributes object,
sets various attributes in that object,
and passes a pointer to the object in the call to
-.BR pthread_create (3).
+.MR pthread_create 3 .
Running the program on Linux/x86-32 with the NPTL threading implementation,
we see the following:
.P
@@ -296,18 +296,18 @@ main(int argc, char *argv[])
.SH SEE ALSO
.ad l
.nh
-.BR pthread_attr_setaffinity_np (3),
-.BR pthread_attr_setdetachstate (3),
-.BR pthread_attr_setguardsize (3),
-.BR pthread_attr_setinheritsched (3),
-.BR pthread_attr_setschedparam (3),
-.BR pthread_attr_setschedpolicy (3),
-.BR pthread_attr_setscope (3),
-.BR pthread_attr_setsigmask_np (3),
-.BR pthread_attr_setstack (3),
-.BR pthread_attr_setstackaddr (3),
-.BR pthread_attr_setstacksize (3),
-.BR pthread_create (3),
-.BR pthread_getattr_np (3),
-.BR pthread_setattr_default_np (3),
-.BR pthreads (7)
+.MR pthread_attr_setaffinity_np 3 ,
+.MR pthread_attr_setdetachstate 3 ,
+.MR pthread_attr_setguardsize 3 ,
+.MR pthread_attr_setinheritsched 3 ,
+.MR pthread_attr_setschedparam 3 ,
+.MR pthread_attr_setschedpolicy 3 ,
+.MR pthread_attr_setscope 3 ,
+.MR pthread_attr_setsigmask_np 3 ,
+.MR pthread_attr_setstack 3 ,
+.MR pthread_attr_setstackaddr 3 ,
+.MR pthread_attr_setstacksize 3 ,
+.MR pthread_create 3 ,
+.MR pthread_getattr_np 3 ,
+.MR pthread_setattr_default_np 3 ,
+.MR pthreads 7