- Scilab help
- PVM parallel Toolbox
- pvm
- pvm_addhosts
- pvm_barrier
- pvm_bcast
- pvm_bufinfo
- pvm_config
- pvm_delhosts
- pvm_error
- pvm_exit
- pvm_f772sci
- pvm_get_timer
- pvm_getinst
- pvm_gettid
- pvm_gsize
- pvm_halt
- pvm_joingroup
- pvm_kill
- pvm_lvgroup
- pvm_mytid
- pvm_parent
- pvm_probe
- pvm_recv
- pvm_reduce
- pvm_sci2f77
- pvm_send
- pvm_set_timer
- pvm_spawn
- pvm_spawn_independent
- pvm_start
- pvm_tasks
- pvm_tidtohost
- pvmd3
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
pvm_kill
Terminates a specified PVM process.
Calling Sequence
[infos] = pvm_kill(tids)
Arguments
- tids
row of integer, task identifier of the PVM process to be killed (not yourself).
- infos
row of integer, status code returned by the routine. Values less than zero indicate an error.
Description
pvm_kill
sends a terminate (SIGTERM
) signal
to the PVM process identified by tids
.
In the case of multiprocessors the terminate signal is replaced with a host dependent method for killing a process.
The array infos
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()
.
See Also
- pvm_exit — tells the local pvmd that this process is leaving PVM.
<< pvm_joingroup | PVM parallel Toolbox | pvm_lvgroup >> |