Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLAScommon
Commits
444d48d5
Commit
444d48d5
authored
Jan 11, 2022
by
Steffen Vogel
🎅🏼
Browse files
signals: add more default signals
parent
141970eb
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/utils.cpp
View file @
444d48d5
...
...
@@ -122,7 +122,7 @@ int signalsInit(void (*cb)(int signal, siginfo_t *sinfo, void *ctx), std::list<i
sigemptyset
(
&
sa_cb
.
sa_mask
);
sigemptyset
(
&
sa_ign
.
sa_mask
);
cbSignals
.
insert
(
cbSignals
.
begin
(),
{
SIGINT
,
SIGTERM
,
SIGUSR1
,
SIGALRM
});
cbSignals
.
insert
(
cbSignals
.
begin
(),
{
SIGINT
,
SIGTERM
,
SIGUSR1
,
SIGUSR2
,
SIGALRM
});
cbSignals
.
sort
();
cbSignals
.
unique
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment