[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 1

pthdb_condattr_pshared Subroutine

Purpose

Gets the condition variable attribute pshared value.

Library

pthread debug library (libpthdebug.a)

Syntax

#include <sys/pthdebug.h>

int pthdb_condattr_pshared (pthdb_session_t  session,
                            pthdb_condattr_t condattr,
                            pthdb_pshared_t  *psharedp)

Description

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.

Parameters

session Session handle.
condattr Condition variable attribute handle
psharedp Pointer to the pshared value.

Return Values

If successful this function returns PTHDB_SUCCESS. Otherwise, an error code is returned.

Error Codes

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

Implementation Specifics

This subroutine is part of the Base Operating System (BOS) Runtime.

Related Information

The pthdebug.h file.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]