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

Technical Reference: Communications, Volume 1


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( );

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 ]