h1-mod/src/runner/debugger.hpp

16 lines
234 B
C++
Raw Normal View History

2022-02-03 14:05:24 -05:00
#pragma once
#include <thread>
class debugger
{
public:
debugger(unsigned long process_id, bool start);
~debugger();
private:
volatile bool terminate_ = false;
std::thread runner_;
void run(unsigned long process_id) const;
};