HPlogo MPE/iX Intrinsics Reference Manual > Chapter 6 Command Definitions (FLUSHLOG-GETUSERMODE)

GETORIGIN

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701
Edition 7 E0300 ♥
Edition 6 E0195

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




GETLOCRIN


GETPRIORITY