1KDOOM(2)                       LAM LOCAL LIBRARY                      KDOOM(2)
2
3
4

NAME

6       kdoom - Deliver a signal to a LAM process.
7

SYNOPSIS

9       #include <lam_ksignal.h>
10
11       int kdoom (int pid, int signum);
12

DESCRIPTION

14       The function kdoom() enables one LAM process to deliver an asynchronous
15       signal to another LAM process on the local node, including itself.
16
17       The pid argument is the identifier of the process to which  the  signal
18       will  be  delivered.  Process identifiers refer to other LAM processes,
19       except for the special identifier 0, which refers to the caller.
20
21       The signum argument identifies the signal to be delivered.  These  sig‐
22       nals are completely apart from the signals provided by the native oper‐
23       ating system.  LAM signals,  defined  in  <lam_ksignal.h>,  are  listed
24       below.
25
26       LAM_SIGTRACE   1    unload trace data
27       LAM_SIGUDIE    4    terminate
28       LAM_SIGARREST  5    suspend execution
29       LAM_SIGRELEASE 6    continue execution
30       LAM_SIGA       7    user defined
31       LAM_SIGB       8    user defined
32       LAM_SIGFUSE    9    node is about to die
33       LAM_SIGSHRINK  10   another node has died
34

ERRORS

36       ENOTPROCESS    The  process  whose  process  identifier  was  passed to
37                      kdoom() is not a LAM process.
38
39       EINVAL         The signal number is invalid.
40
41       ENOTATTACHED   The calling process is not a LAM process.
42

SEE ALSO

44       lam_ksignal(2), lam_ksigblock(2)
45
46
47
48LAM 7.1.2                         March, 2006                         KDOOM(2)
Impressum