1
by Torsten Werner
Import upstream version 2.6 |
1 |
pvm_kill Scilab // Group Scilab function pvm_kill |
2 |
NAME
|
|
3 |
pvm_kill - Terminates a specified PVM process. |
|
4 |
|
|
5 |
CALLING SEQUENCE |
|
6 |
[infos] = pvm_kill(tids) |
|
7 |
PARAMETERS
|
|
8 |
tids : row of integer, task identifier of the PVM process to be killed |
|
9 |
(not yourself). |
|
10 |
|
|
11 |
infos : row of integer, status code returned by the routine. Values less |
|
12 |
than zero indicate an error. |
|
13 |
|
|
14 |
DESCRIPTION
|
|
15 |
pvm_kill sends a terminate (SIGTERM) signal to the PVM process |
|
16 |
identified by |
|
17 |
|
|
18 |
In the case of multiprocessors the terminate signal is replaced with a |
|
19 |
host dependent method for killing a process. If pvm_kill is successful, |
|
20 |
The array |
|
21 |
|
|
22 |
can be checked to determine the status for each process. Values less than |
|
23 |
zero indicate an error, while zero values indicate a success. |
|
24 |
|
|
25 |
pvm_kill is not designed to kill the calling process. To kill yourself in |
|
26 |
C call pvm_exit() followed by quit(). |
|
27 |
|
|
28 |
EXAMPLE
|
|
29 |
info = pvm_kill(262153) |
|
30 |
|
|
31 |
|
|
32 |
SEE ALSO |
|
33 |
pvm_exit |
|
34 |
|