File: pvm_pstat.3

package info (click to toggle)
pvm 3.4.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,280 kB
  • sloc: ansic: 72,074; makefile: 1,197; fortran: 631; sh: 282; csh: 74; asm: 37
file content (57 lines) | stat: -rw-r--r-- 1,119 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\" $Id: pvm_pstat.3,v 1.1 1996/09/23 22:05:56 pvmsrc Exp $
.TH PSTAT 3PVM "30 August, 1993" "" "PVM Version 3.4"
.SH NAME
pvm_pstat \- Returns the status of the specified PVM process.

.SH SYNOPSIS
.nf
.ft B
C	int status = pvm_pstat( tid )
.br

Fortran	call pvmfpstat( tid, status )
.fi

.SH PARAMETERS
.IP tid 0.8i
Integer task identifier of the PVM process in question.
.br
.IP status
Integer returns the status of the PVM process identified by
.I tid.
Status is PvmOk if the task is running, PvmNoTask if not, and
PvmBadParam if the
.I tid
is bad.

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

.SH EXAMPLES
.nf
C:
	tid = pvm_parent();
	status = pvm_pstat( tid );
.sp
Fortran:
	CALL PVMFPARENT( TID )
	CALL PVMFPSTAT( TID, STATUS )
.fi

.SH ERRORS
The following error conditions can be returned by
.I pvm_pstat.
.IP PvmBadParam
Bad Parameter, most likely an invalid tid value.
.IP PvmSysErr
pvmd not responding.
.IP PvmNoTask
Task not running.
.PP
.SH SEE ALSO
pvm_notify(3PVM)