Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(3ncs)

pfm_enable(3ncs)

pfm_inhibit_faults(3ncs)

pfm_enable_faults(3ncs)

Name

pfm_enable_faults − enable asynchronous faults

Syntax

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

Description

The pfm_$enable_faults routine enables asynchronous faults after they have been inhibited by a call to pfm_$inhibit_faults; pfm_$enable_faults 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 pfm_$enable_faults returns, there can be at most one fault waiting on the process. If more than one fault was received between routines to pfm_$inhibit_faults and pfm_$enable_faults, the process receives the first asynchronous fault received while faults were inhibited.

Diagnostics

This section lists the status codes for errors returned by this pfm_$ routine.

pfm_$bad_rls_order
Attempted to release a clean-up handler out of order.

pfm_$cleanup_not_found
There is no pending clean-up handler.

pfm_$cleanup_set A clean-up handler was established successfully. 

pfm_$cleanup_set_signalled
Attempted to use pfm_$cleanup_set as a signal. 

pfm_$invalid_cleanup_rec
Passed an invalid clean-up record to a routine.

pfm_$no_space Cannot allocate storage for a clean-up handler. 

Files

/usr/include/idl/c/base.h
/usr/include/idl/base.idl
/usr/include/idl/c/pfm.h

See Also

intro(3ncs), pfm_enable(3ncs), pfm_inhibit_faults(3ncs)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026