Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156435635
D42344.id129427.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
914 B
Referenced Files
None
Subscribers
None
D42344.id129427.diff
View Options
diff --git a/share/man/man3/pthread_mutexattr.3 b/share/man/man3/pthread_mutexattr.3
--- a/share/man/man3/pthread_mutexattr.3
+++ b/share/man/man3/pthread_mutexattr.3
@@ -132,6 +132,26 @@
.El
.Pp
The
+.Fn pthread_mutexattr_setpshared
+function sets the process-shared attribute of
+.Fa attr
+to the value specified in
+.Fa pshared .
+The argument
+.Fa pshared
+may have one of the following values:
+.Bl -tag -width ".Dv PTHREAD_PROCESS_PRIVATE"
+.It Dv PTHREAD_PROCESS_PRIVATE
+The mutex may only be used by threads in the same process as the one
+that created the object.
+.It Dv PTHREAD_PROCESS_SHARED
+The mutex may be used by
+threads in processes other than the one that created the object,
+assuming other processes share access to the memory where the mutex
+was allocated.
+.El
+.Pp
+The
.Fn pthread_mutexattr_setrobust
function specifies robustness attribute of the mutex.
Possible values for the
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 4:50 PM (15 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33047800
Default Alt Text
D42344.id129427.diff (914 B)
Attached To
Mode
D42344: pthread_mutexattr_init(3): describe pthread_mutexattr_{set,get}pshared
Attached
Detach File
Event Timeline
Log In to Comment