diff options
Diffstat (limited to 'lib/libpthread/man/pthread_rwlockattr_setpshared.3')
-rw-r--r-- | lib/libpthread/man/pthread_rwlockattr_setpshared.3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libpthread/man/pthread_rwlockattr_setpshared.3 b/lib/libpthread/man/pthread_rwlockattr_setpshared.3 index b2c16eb..fd5fa90 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. |