Split source into multiple files
SIGUSR1 now causes reload of blacklist sigstoped now resumes all processes it stoped upon reciving SIGINT or SIGTERM sigstoped avoids stopping processes that have no top level window left TODO: is this enough?
This commit is contained in:
parent
3c7d0f49de
commit
569ce05dbb
8 changed files with 389 additions and 219 deletions
10
debug.h
Normal file
10
debug.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
constexpr bool DEBUG = false;
|
||||
|
||||
inline void debug(const std::string& in)
|
||||
{
|
||||
if constexpr (DEBUG) std::cout<<in<<'\n';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue