Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
_THREAD^CONTEXT^ADDRESS
A-124
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
DSNM Library Services
_THREAD^CONTEXT^ADDRESS
_THREAD^CONTEXT^ADDRESS is an INT(32) field, containing the extended 
address of the command context area, which is allocated to each thread when it is 
created and persists until the thread terminates.  The context area contains a fixed 
header, followed by a user-defined area.
Since globals are shared among all threads, the construction to access the thread context 
must be done in the local data area of each procedure that requires access.
Example
The following example of a local data definition gives a thread procedure access to the 
command context area:  
INT.EXT cx (command^context^def) = _THREAD^CONTEXT^ADDRESS;
command^context^def is a user-defined structure template that begins with 
_COMMAND^CONTEXT^HEADER.
See also the examples for _FOBJECT^INIT and _COMMAND^CONTEXT^HEADER.
_THREAD^CONTEXT^ADDRESS










