Guardian Programmer's Guide

Table Of Contents
Contents
Guardian Programmer’s Guide421922-014
xiii
16. Creating and Managing Processes
16. Creating and Managing Processes
Process Management Overview 16-1
Process Identifiers 16-2
Programs and Processes 16-3
Process Organization 16-5
Process Security 16-10
Relationship With Other Processes 16-11
Relationship With a Home Terminal 16-14
Process Subtype 16-15
Process Priority 16-15
Process Execution 16-18
Creating Processes 16-19
Using the PROCESS_LAUNCH_ Procedure 16-21
Creating an Unnamed Process 16-23
Creating a Named Process 16-23
Creating a Process in a Nowait Manner 16-26
Analyzing Process-Creation Errors 16-27
Specifying Process Attributes and Resources 16-28
Sending the Startup Sequence to a Process 16-38
Sending and Receiving the Startup Message 16-39
Sending and Receiving Assign and Param Messages 16-46
Monitoring a Child Process 16-46
Deleting Processes 16-47
Deleting Your Own Process 16-48
Deleting Other Processes 16-50
Using Stop Mode to Control Process Deletion 16-51
Reusing Resources Held by a Stopped Process 16-51
Suspending and Activating Processes 16-52
Suspending Your Own Process 16-52
Suspending Other Processes 16-52
Activating Another Process 16-53
Getting and Setting Process Information 16-53
Getting Process Information 16-53
Setting Process Information 16-60
Manipulating Process Identifiers 16-61
Retrieving Information From a Process Handle 16-62
Converting Between Process Handles and Process File Names 16-62
Controlling the IPU Affinity of Processes 16-64