pxfsigsuspend

Date:

10-20-2011

NAME

PXFSIGSUSPEND - Waits for a signal

SYNOPSIS

INTEGER jsigset, ierror
CALL PXFSIGSUSPEND(jsigset, ierror)

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

IEEE Std 1003.9-1992 standard interface for FORTRAN 77

DESCRIPTION

The PXFSIGSUSPEND subroutine uses sigsuspend to replace the signal mask of the process with the specified jsigset set and then suspend the process until delivery of a signal whose action is either to execute a signal-catching function or to terminate the process.

All arguments must be of default kind unless documented otherwise. Default kind is KIND=4 for integer, real, complex, and logical arguments.

The following is a list of valid arguments for this routine:

jsigset

A default integer input variable containing a handle created by PXFSTRUCTCREATE(sigset,…).

ierror

A default integer output variable that contains zero if PXFSIGSUSPEND was successful and nonzero if PXFSIGSUSPEND was not successful.

PXFSIGSUSPEND always returns an error if control is returned.

NOTES

Replace any Fortran reference to sigsuspend() with a subroutine call to PXFSIGSUSPEND.

SEE ALSO

sigsuspend(2), PXFSTRUCTCREATE(3F)