Gets the condition variable attribute pshared value.
pthread debug library (libpthdebug.a)
#include <sys/pthdebug.h> int pthdb_condattr_pshared (pthdb_session_t session, pthdb_condattr_t condattr, pthdb_pshared_t *psharedp)
The pthdb_condattr_pshared function is used to get the condition variable attribute process shared value. The pshared value can be PSH_SHARED, PSH_PRIVATE, or PSH_NOTSUP.
session | Session handle. |
condattr | Condition variable attribute handle |
psharedp | Pointer to the pshared value. |
If successful this function returns PTHDB_SUCCESS. Otherwise, an error code is returned.
PTHDB_BAD_CONDATTR | Invalid condition variable attribute handle. |
PTHDB_BAD_SESSION | Invalid session handle. |
PTHDB_CALLBACK | Debugger call back error. |
PTHDB_INTERNAL | Error in library. |
PTHDB_POINTER | Invalid pointer |
This subroutine is part of the Base Operating System (BOS) Runtime.
The pthdebug.h file.