pfm_$inhibit Library Routine

Purpose

Inhibits asynchronous faults.

Syntax

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

Description

The pfm_$inhibit routine prevents asynchronous faults from being passed to the calling process. While faults are inhibited, the operating system holds at most one asynchronous fault. Consequently, a call to the pfm_$inhibit routine can result in the loss of some signals. For that and other reasons, it is good practice to inhibit faults only when absolutely necessary.

Note: This routine has no effect on the processing of synchronous faults, such as access violations or floating-point and overflow exceptions.

Examples

To prevent asynchronous interrupts from occurring in a critical portion of a routine, use the following:

pfm_$inhibit( );