Coverage Report

Created: 2018-03-29 00:42

/home/travis/build/MoarVM/MoarVM/src/io/signals.h
Line
Count
Source (jump to first uncovered line)
1
/* MoarVM platform-independent signal values. */
2
/* these match the BSD/Darwin values */
3
0
#define MVM_SIG_HUP     1
4
0
#define MVM_SIG_INT     2
5
0
#define MVM_SIG_QUIT    3
6
0
#define MVM_SIG_ILL     4
7
0
#define MVM_SIG_TRAP    5
8
0
#define MVM_SIG_ABRT    6
9
#define MVM_SIG_EMT     7
10
0
#define MVM_SIG_FPE     8
11
0
#define MVM_SIG_KILL    9
12
0
#define MVM_SIG_BUS     10
13
0
#define MVM_SIG_SEGV    11
14
0
#define MVM_SIG_SYS     12
15
0
#define MVM_SIG_PIPE    13
16
0
#define MVM_SIG_ALRM    14
17
0
#define MVM_SIG_TERM    15
18
0
#define MVM_SIG_URG     16
19
0
#define MVM_SIG_STOP    17 /* hammer time */
20
0
#define MVM_SIG_TSTP    18
21
0
#define MVM_SIG_CONT    19
22
0
#define MVM_SIG_CHLD    20
23
0
#define MVM_SIG_TTIN    21
24
0
#define MVM_SIG_TTOU    22
25
0
#define MVM_SIG_IO      23
26
0
#define MVM_SIG_XCPU    24
27
0
#define MVM_SIG_XFSZ    25
28
0
#define MVM_SIG_VTALRM  26
29
0
#define MVM_SIG_PROF    27
30
0
#define MVM_SIG_WINCH   28
31
#define MVM_SIG_INFO    29
32
0
#define MVM_SIG_USR1    30
33
0
#define MVM_SIG_USR2    31
34
#define MVM_SIG_THR     32
35
36
/* linux overloads */
37
0
#define MVM_SIG_STKFLT  116
38
0
#define MVM_SIG_PWR     130
39
40
/* windows overloads */
41
#define MVM_SIG_BREAK   221
42
43
MVMObject * MVM_io_signal_handle(MVMThreadContext *tc, MVMObject *queue,
44
    MVMObject *schedulee, MVMint64 signal, MVMObject *async_type);