Sets the process-shared attribute in the mutex attribute object.
#include <pthread.h> int pthread_mutexattr_setpshared ( pthread_mutexattr_t *attr, int pshared);
(IN) Points to the mutex attribute object.
(IN) Specifies the value for the process-shared attribute. For a list of supported values, see Section 48.1.2, Process Shared Flags.
If successful, returns 0. Otherwise, returns one of the following values.
The pthread_mutexattr_destroy function destroys an unused mutex attribute object.