|procID||-||The ID of the process that is to be terminated.|
This routine terminates another process. A process may be launched from the Console, launched automatically at power-up, or launched by another process with the aMulti_Spawn function.
(TEA file stored in file slot 0)
(TEA file stored in file slot 1)
void main(char callingProcID)
The first program (0) launches the second program (1) as process 3. The second program goes into an infinite loop and continously updates a scratch pad location. The first program waits 200 milliseconds, then terminates the second program. While the first program is sleeping, the second program gets all the available CPU cycles. The first program displays the updated scratch pad location before exiting.