MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 6 303
Command Definitions (FLUSHLOG-GETUSERMODE)
GETORIGIN
GETORIGIN
NM and CM callable.
Returns the source of the activation call for the calling process that has been previously
suspended and subsequently reactivated. The source of the activation request can be the
parent process, a child process, or another source (for example, an interrupt or the timer).
Process handling (PH) capability is required.
Syntax
I16
source
:=GETORIGIN;
Functional Return
source
16-bit signed integer (assigned functional return)
Returns one of the following values:
Value Meaning
0 Was not activated by either the parent or a child process
1 Activated by the parent process
2 Activated by a child process
Related Information
Manual Process Management Programmer's Guide