NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <pd/chPd.h>int ptdRemoteGet(KnCap *actorcap, int threadli, PdKey key, void **pvalue);
PRIVATE-DATA
The ptdRemoteGet call gets the value currently bound to the specific key for the thread whose local indentifier is threadli in the actor whose capability is given by actorcap.
If actorcap is K_MYACTOR, the target thread must belong to the current actor. In this case, if threadli is K_MYSELF, the current thread is used.
The value is returned to *pvalue. If no thread-specific data value is associated with key, then the value NULL is returned to *pvalue.
In user mode, actorcap must represent the current actor.
Upon successful completion a value of 0 is returned. Otherwise, a positive error code is returned.
The key value is invalid, or threadli does not belong to the target actor, or actorcap is an inconsistent actor capability.
The Private Data Manager is unreachable.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO