File: pvm_kill.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (32 lines) | stat: -rw-r--r-- 989 bytes parent folder | download
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

pvm_kill(1)                    Scilab function                    pvm_kill(1)
NAME
  pvm_kill -  Terminates a specified PVM process.

CALLING SEQUENCE
  [infos] = pvm_kill(tids)

PARAMETERS

  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.  If pvm_kill is suc-
  cessful,
  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 suc-
  cess.

  pvm_kill is not designed to kill the calling process.  To kill yourself in
  C call pvm_exit() followed by quit().
EXAMPLE
  info = pvm_kill(262153)
SEE ALSO
  pvm_exit