The system gives control to the installation-written resource managers
in the following order:
- Resource managers listed in the CSECT IEAVTRML.
- Dynamic resource managers, either address space or task, get control
in LIFO order within resource manager type.
Dynamic task resource
managers are processed in the following order:
- Resource managers provided to protect the specific terminating
task
- Resource managers provided to protect all tasks in the home address
space of the terminating task
- Resource managers provided to protect all tasks in all address
spaces.
Dynamic address space resource managers are processed
in the following order:
- Resource managers provided to protect a specific address space
- Resource managers provided to protect all address spaces.
For task termination, the resource manager runs under an RB for
the terminating task. For address space termination, it runs in task
mode in the master scheduler address space. In either case, the resource
manager gets control in PSW key 0, supervisor state, with no locks
held.
After all installation-written resource managers have completed
processing, the system invokes the system-provided resource managers.