Process termination

Process termination occurs when the enclave terminates. Process termination releases the process control block (PCB) and associated resources, and returns control to the creator of the process.

Language Environment explicitly relinquishes all resources it acquires. Routines that acquire resources directly from the host system (such as opening a DCB) must explicitly relinquish the resource. If these resources are not explicitly released, the environment can be corrupted because Language Environment has no method for releasing these resources.