aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-02 09:59:58 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-02 09:59:58 +0000
commit0d42ab242ed362fe8bc1a3d8b88600e68d2b69f0 (patch)
tree6d58c9f777903c7ff8c290fd5df5ba462f57b5eb /lib/libpthread/man
parent2a7e12fdbd0ac94820eede312e84049c49b213ba (diff)
Notes
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_getpshared.36
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_setpshared.310
2 files changed, 9 insertions, 7 deletions
diff --git a/lib/libpthread/man/pthread_rwlockattr_getpshared.3 b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
index 7637a4f7494c5..a433d6020a360 100644
--- a/lib/libpthread/man/pthread_rwlockattr_getpshared.3
+++ b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
@@ -43,11 +43,11 @@ function is used to get the process shared setting of a read/write
lock attribute object. The setting is returned via
.Fa pshared ,
and may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
Any thread of any process that has access to the memory where the
read/write lock resides can manipulate the lock.
-.It Ar PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_PRIVATE
Only threads created within the same process as the thread that
initialized the read/write lock can manipulate the lock. This is
the default value.
diff --git a/lib/libpthread/man/pthread_rwlockattr_setpshared.3 b/lib/libpthread/man/pthread_rwlockattr_setpshared.3
index b2c16eb5b7363..fd5fa90f995b4 100644
--- a/lib/libpthread/man/pthread_rwlockattr_setpshared.3
+++ b/lib/libpthread/man/pthread_rwlockattr_setpshared.3
@@ -45,11 +45,11 @@ to the value referenced by
.Fa pshared .
.Fa pshared
may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
Any thread of any process that has access to the memory where the
read/write lock resides can manipulate the lock.
-.It Ar PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_PRIVATE
Only threads created within the same process as the thread that
initialized the read/write lock can manipulate the lock. This is
the default value.
@@ -85,4 +85,6 @@ The
function first appeared in
.Fx 3.0 .
.Sh BUGS
-The PTHREAD_PROCESS_SHARED attribute is not supported.
+The
+.Dv PTHREAD_PROCESS_SHARED
+attribute is not supported.