1PSTAT(3PVM) PVM Version 3.4 PSTAT(3PVM)
2
3
4
6 pvm_pstat - Returns the status of the specified PVM process.
7
8
10 C int status = pvm_pstat( tid )
11
12 Fortran call pvmfpstat( tid, status )
13
14
16 tid Integer task identifier of the PVM process in question.
17
18 status Integer returns the status of the PVM process identified by
19 tid. Status is PvmOk if the task is running, PvmNoTask if not,
20 and PvmBadParam if the tid is bad.
21
22
24 The routine pvm_pstat returns the status of the process identified by
25 tid. Also note that pvm_notify() can be used to notify the caller that
26 a task has failed.
27
28
30 C:
31 tid = pvm_parent();
32 status = pvm_pstat( tid );
33
34 Fortran:
35 CALL PVMFPARENT( TID )
36 CALL PVMFPSTAT( TID, STATUS )
37
38
40 The following error conditions can be returned by pvm_pstat.
41
42 PvmBadParam
43 Bad Parameter, most likely an invalid tid value.
44
45 PvmSysErr
46 pvmd not responding.
47
48 PvmNoTask
49 Task not running.
50
52 pvm_notify(3PVM)
53
54
55
56 30 August, 1993 PSTAT(3PVM)