logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pvm_pstat - Returns the status of the specified PVM process.

Description

       The routine pvm_pstat returns the status of the process identified by tid.  Also note  that  pvm_notify()
       can be used to notify the caller that a task has failed.

Errors

       The following error conditions can be returned by pvm_pstat.

       PvmBadParam
              Bad Parameter, most likely an invalid tid value.

       PvmSysErr
              pvmd not responding.

       PvmNoTask
              Task not running.

Examples

       C:
            tid = pvm_parent();
            status = pvm_pstat( tid );

       Fortran:
            CALL PVMFPARENT( TID )
            CALL PVMFPSTAT( TID, STATUS )

Name

       pvm_pstat - Returns the status of the specified PVM process.

Parameters

       tid     Integer task identifier of the PVM process in question.

       status  Integer  returns the status of the PVM process identified by tid.  Status is PvmOk if the task is
               running, PvmNoTask if not, and PvmBadParam if the tid is bad.

See Also

pvm_notify(3PVM)

                                                 30 August, 1993                                     PSTAT(3PVM)

Synopsis

Cintstatus=pvm_pstat(tid)Fortrancallpvmfpstat(tid,status)

See Also