1RPWAIT(2)                     LAM REMOTE LIBRARY                     RPWAIT(2)
2
3
4

NAME

6       rpwait - Wait for a child LAM process to terminate.
7

C SYNOPSIS

9       int rpwait (int *nodeid, int *pid, int *status);
10

FORTRAN SYNOPSIS

12       subroutine RPWT (nodeid, pid, status, ierr)
13       integer nodeid, pid, status, ierr
14

DESCRIPTION

16       The  rpwait()  function  enables  a  LAM  process  to  wait for a child
17       process, started by the calling process with  rploadgo(2),  rpgo(2)  or
18       rpcreate(2),  to  exit.   The child process must have been created with
19       the RTF_WAIT runtime flag.
20
21       The arguments of rpwait() are all value returned.  After  the  function
22       returns,  the  arguments  hold information on one exited child process.
23       There is no function to wait on a specific process.  The  nodeid  argu‐
24       ment  points to the node identifier on which the child process was run‐
25       ning.  The pid argument points to the child's process identifier.   The
26       status  argument  points  to  the exit status code, passed by the child
27       process to kexit(2).
28

SEE ALSO

30       kexit(2), lpdetach(2), rpcreate(2), rpgo(2), rploadgo(2)
31
32
33
34LAM 7.1.2                         March, 2006                        RPWAIT(2)
Impressum