Guardian Application Conversion Guide

Creating and Managing a High-PIN Process
Converting TAL Applications
096047 Tandem Computers Incorporated 3–27
These examples show PROCESS_STOP_ used to stop several processes:
error := PROCESS_STOP_; ! Stop the calling process.
...
! Stop the process identified by process^handle.
error := PROCESS_STOP_(process^handle);
...
! Stop the brother process for the calling process.
specifier := stop^brother; ! Set to 2.
error := PROCESS_STOP_(! process^handle ! ,
specifier); ! Value = 2.
...
! Stop both processes of a process pair.
specifier := stop^pair; ! Set to 1.
error := PROCESS_STOP_(process^handle,
specifier); ! Value = 1.
Getting Information About a High-PIN Process
Your existing program might call one of the following C-series procedures to get
information about a process. To get information about a high-PIN process, convert
your program to call the appropriate D-series procedure.
C-Series Procedure D-Series Procedure
CREATORACCESSID PROCESS_GETINFO[LIST]_
GETCPCBINFO PROCESS_GETINFO[LIST]_
GETCRTPID PROCESS_GETINFO[LIST]_
GETREMOTECRTPID PROCESS_GETINFO[LIST]_
LOOKUPPROCESSNAME PROCESS_GETPAIRINFO_
MOM or MYGMOM PROCESS_GETINFO[LIST]_
MYTERM PROCESS_GETINFO[LIST]_
PRIORITY PROCESS_GETINFO[LIST]_
PROCESSFILESECURITY PROCESS_GETINFOLIST_
PROCESSINFO PROCESS_GETINFO[LIST]_
PROCESSTIME PROCESS_GETINFO[LIST]_
PROGRAMFILENAME PROCESS_GETINFO[LIST]_