Scilab function

pvm_kill - Terminates a specified PVM process.

Sequence d'appel

[infos] = pvm_kill(tids)

Parametres

Description

pvm_kill sends a terminate (SIGTERM) signal to the PVM process identified by

In the case of multiprocessors the terminate signal is replaced with a host dependent method for killing a process. If pvm_kill is successful,

The array

can be checked to determine the status for each process. Values less than zero indicate an error, while zero values indicate a success.

pvm_kill is not designed to kill the calling process. To kill yourself in C call pvm_exit() followed by quit().

Exemples

Voir aussi