Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pvmfpstat(3PVM) — Parallel Software Environment 1.9

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pvm_notify(3PVM)

PSTAT(3PVM)  —  Subroutines

NAME

pvm_pstat − Returns the status of the specified PVM process. 
 

SYNOPSIS

Cint status = pvm_pstat( tid )
 
Fortrancall pvmfpstat( tid, status )

 

PARAMETERS

tidInteger task identifier of the PVM process in question. 

statusInteger 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. 
 

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. 
 

EXAMPLES

C:
tid = pvm_parent();
status = pvm_pstat( tid );
Fortran:
CALL PVMFPARENT( TID )
CALL PVMFPSTAT( TID, STATUS )

 

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.

SEE ALSO

pvm_notify(3PVM)

  —  30 August, 1993

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