Gets the condition variable's mutex handle and pshared value.
pthread debug library (libpthdebug.a)
#include <sys/pthdebug.h>
int pthdb_cond_pshared (pthdb_session_t session,
pthdb_cond_t cond,
pthdb_pshared_t *psharedp)
The pthdb_cond_pshared function is used to get the condition variable process shared value. The pshared value can be PSH_SHARED, PSH_PRIVATE, or PSH_NOTSUP.
| session | Session handle. |
| cond | Condition variable handle |
| mutexp | Pointer to mutex |
| psharedp | Pointer to pshared value |
If successful, these functions return PTHDB_SUCCESS. Otherwise, an error code is returned.
| PTHDB_BAD_COND | Invalid cond handle. |
| PTHDB_BAD_SESSION | Invalid session handle. |
| PTHDB_CALLBACK | Debugger call back error. |
| PTHDB_INTERNAL | Error in library. |
| PTHDB_POINTER | Invalid pointer |
These subroutines are part of the Base Operating System (BOS) Runtime.
The pthdebug.h file.