1SENDSIG(3PVM) PVM Version 3.4 SENDSIG(3PVM)
2
3
4
6 pvm_sendsig - Sends a signal to another PVM process.
7
8
10 C int info = pvm_sendsig( int tid, int signum )
11
12 Fortran call pvmfsendsig( tid, signum, info )
13
14
16 tid Integer task identifier of PVM process to receive the signal.
17
18 signum Integer signal number.
19
20 info Integer status code returned by the routine.
21
22
24 The routine pvm_sendsig sends the signal number signum to the PVM
25 process identified by tid. If pvm_sendsig is successful, info will be
26 0. If some error occurs then info will be < 0.
27
28 pvm_sendsig should only be used by programmers with Unix signal han‐
29 dling experience. Many library functions (and in fact the PVM library
30 functions) cannot be called in a signal handler context because they do
31 not mask signals or lock internal data structures.
32
33 Further caveat: the signal numbers passed between systems are not
34 mapped - PVM assumes that signal 9 on one system is the same as on
35 another.
36
37
39 C:
40 tid = pvm_parent();
41 info = pvm_sendsig( tid, SIGKILL);
42
43 Fortran:
44 CALL PVMFBUFINFO( BUFID, BYTES, TYPE, TID, INFO );
45 CALL PVMFSENDSIG( TID, SIGNUM, INFO )
46
47
49 These error conditions can be returned by pvm_sendsig
50
51 PvmSysErr
52 pvmd not responding.
53
54 PvmBadParam
55 giving an invalid tid value.
56
58 30 August, 1993 SENDSIG(3PVM)