RPWAIT (2)
Wait for a child LAM process to terminate.
C SYNOPSIS
int rpwait (int *nodeid, int *pid, int *status);
FORTRAN SYNOPSIS
subroutine RPWT (nodeid, pid, status, ierr)
integer nodeid, pid, status, ierr
DESCRIPTION
The
rpwait()
function enables a LAM process to wait for a child process, started
by the calling process with rploadgo(2), rpgo(2) or rpcreate(2), to exit.
The child process must have been created with the RTF_WAIT runtime flag.
The arguments of
rpwait()
are all value returned.
After the function returns,
the arguments hold information on one exited child process.
There is no function to wait on a specific process.
The
nodeid
argument points to the node identifier on which the child process was running.
The
pid
argument points to the child's process identifier.
The
status
argument points to the exit status code, passed by the child process
to kexit(2).
SEE ALSO
|
|