Inhibits asynchronous faults, but allows task switching.
#include <idl/c/base.h> #include <idl/c/pfm.h>
void pfm_$inhibit_faults (void)
The pfm_$inhibit routine prevents asynchronous faults, except for time-sliced task switching, 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_faults 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.
To prevent faults from occurring in a critical portion of a routine, use the following:
This Library Routine is part of Network Computing System in Network Support Facilities in Base Operating System (BOS) Runtime.
Remote Procedure Call (RPC) Runtime Library (NCS) in AIX Version 4.3 Communications Programming Concepts.