Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-67
PROCESS_GETINFO_ Procedure
6. hometerm or maxlen
7. hometerm-len
8. process-time
9. creator-access-id
10. process-access-id
11. gmom’s-processhandle
12. jobid
13. program-file or maxlen
14. program-len
15. swap-file or maxlen
16. swap-len
17. error-detail
18. proc-type
19. oss-pid
Mom Considerations
•
Obtaining the mom (mom's-processhandle) of a named process or process pair
If the specified process is a single named process (that is, the specified process is
the primary process of a named process pair with no backup process), a null
process handle (-1 in each word ) is returned in
mom's-processhandle.
If the specified process is the primary process of a named process pair and there
is a backup process, the process handle of the backup is returned in
mom's-
processhandle
.
If the specified process is the backup process of a named process pair, the
process handle of the primary is returned in
mom's-processhandle.
•
The caller can always retrieve its own mom, if it has one.
•
If another process has become the mom of the specified process by a call to
PROCESS_SETINFO_ or STEPMOM, then the process handle of that other
process is returned in
mom's-processhandle.
•
By default, an OSS process does not have a mom process; therefore, a null
process handle is returned in
mom's-processhandle. An OSS process can
have a mom process if it was created by the OSS
tdm_fork() or one of the
tdm_exec set of functions; see the online reference pages or the Open System
Services System Calls Reference Manual for details. An OSS process does have