pfm_$enable Library Routine

Purpose

Enables asynchronous faults.

Syntax

#include <idl/c/base.h>
#include <idl/c/pfm.h>
void
pfm_$enable (void)

Description

The pfm_$enable routine enables asynchronous faults after they have been inhibited by a call to the pfm_$inhibit routine. The pfm_$enable routine causes the operating system to pass asynchronous faults on to the calling process.

While faults are inhibited, the operating system holds at most one asynchronous fault. Consequently, when the pfm_$enable subroutine returns, there can be at most one fault waiting on the process. If more than one fault was received between calls to the pfm_$inhibit and pfm_$enable routines, the process receives the first asynchronous fault received while faults were inhibited.

Examples

To enable asynchronous interrupts to occur after a call to the pfm_$inhibit routine, use the following:

pfm_$enable( );