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?
16 lines
251 B
C++
16 lines
251 B
C++
#pragma once
|
|
#include <string>
|
|
#include <sys/types.h>
|
|
|
|
class Process
|
|
{
|
|
public:
|
|
pid_t pid = -1;
|
|
std::string name;
|
|
|
|
bool operator==(const Process& in);
|
|
bool operator!=(const Process& in);
|
|
Process(){}
|
|
Process(pid_t pidIn);
|
|
};
|