MCPcopy Create free account
hub / github.com/Bananymous/banan-os / initialize_default_sse_storage

Function initialize_default_sse_storage

kernel/kernel/Thread.cpp:38–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 bool Thread::is_stopping_signal(int signal)
37 {
38 switch(signal)
39 {
40 case SIGSTOP:
41 case SIGTSTP:
42 case SIGTTIN:
43 case SIGTTOU:
44 return true;
45 default:
46 return false;
47 }
48 }
49
50 bool Thread::is_continuing_signal(int signal)
51 {
52 switch(signal)
53 {
54 case SIGCONT:
55 return true;
56 default:
57 return false;
58 }
59 }
60
61 bool Thread::is_terminating_signal(int signal)
62 {
63 switch (signal)
64 {
65 case SIGALRM:
66 case SIGHUP:
67 case SIGINT:
68 case SIGKILL:
69 case SIGPIPE:
70 case SIGTERM:
71 case SIGUSR1:
72 case SIGUSR2:
73 case SIGPOLL:
74 case SIGPROF:
75 case SIGVTALRM:
76 return true;
77 default:
78 return false;

Callers 1

ThreadMethod · 0.85

Calls 1

compare_exchangeMethod · 0.80

Tested by

no test coverage detected