1
pvm_getinst Scilab // Group Scilab function pvm_getinst
3
pvm_getinst - returns the instance number in a group of a PVM process.
6
[inum] = pvm_getinst(group, tid)
8
group : string, string group name of an existing group.
10
tid : integer, task identifier of a PVM process.
12
inum : integer, instance number returned by the routine.
15
pvm_getinst takes a group name
17
and a PVM task identifier
19
and returns the unique instance number that corresponds to the input. It
20
can be called by any task whether in the group or not. If pvm_getinst is
23
will be >= 0. If some error occurs then
28
inum = pvm_getinst( "worker", pvm_mytid() )
30
pvm_joingroup, pvm_gettid