[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1


pfm_$inhibit_faults Library Routine

Purpose

Inhibits asynchronous faults, but allows task switching.

Syntax

#include <idl/c/base.h>
#include <idl/c/pfm.h>

void
pfm_$inhibit_faults (void)

Description

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.

Examples

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

pfm_$inhibit_faults( );

Implementation Specifics

This Library Routine is part of Network Computing System in Network Support Facilities in Base Operating System (BOS) Runtime.

Related Information

Remote Procedure Call (RPC) Runtime Library (NCS) in AIX 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]