{
{   The purpose of this request is to establish a procedure that
{ will receive control after a task has called PMP$EXIT or
{ PMP$ABORT but before it is actually terminated by the system.
{ The procedure that has been established will typically
{ perform any cleanup activities that are required before the
{ task actually terminates.
{
{ This task end handler remains in effect until the task
{ terminates or until it is explicitly disestablished.  The
{ lifetime of the end handler is not associated with the lifetime
{ of its caller as in the case of PMP$ESTABLISH_CONDITION_HANDLER.
{
{ An end handler established with this request will only be called
{ after the program executed by the task has completed; it is not
{ involved in the normal condition processing algorithm.  The end
{ handler executes in the ring of the caller that established it.
{
{ When the end handler is called, it may finish by returning or by
{ calling PMP$EXIT or PMP$ABORT; in all cases task termination
{ proceeds.  The task termination status is passed as a parameter
{ to the end handler so that it can determine the condition that
{ caused the task to terminate.
{
{ End handlers established by this procedure are queued according
{ to the execution ring of the caller along with other end
{ handlers established for the same ring.  Within a ring they
{ will be called in the order in which they were established; that
{ is, the end handler that was established first is called first.
{ If end handlers are established in multiple rings, the end
{ handlers in the least privileged rings will be called first.
{ These end handlers are always called if still established at task
{ termination whether the task terminated normally or abnormally.
{
{ Block-exit condition handlers that are still established at
{ task termination time are called before any end handlers are
{ called.
{
{ Files with user FAP's established in the end handler's ring that
{ are left open at task termination will still be open when
{ the end handler is called but will be closed by the system
{ before end handlers for more privileged rings are called.
{
{       PMP$ESTABLISH_END_HANDLER (END_HANDLER, STATUS)
{
{ END_HANDLER: (input) This parameter specifies the
{       task end handler.
{
{ STATUS: (output) This parameter specifies the request status.
{       CONDITIONS:
{             pme$handler_more_privileged
{             pme$handler_nested_proc
{             pme$handler_queue_error
{
