KEK/kw11-l.h
folkert van heusden 2717799df4 - fix for busy loop in console_posix (due to poll with 0ms timeout)
- disable kw11-l interrupt when emulation is not running
2022-06-26 01:41:58 +02:00

21 lines
348 B
C++

#include <atomic>
#include <thread>
#include "bus.h"
class kw11_l
{
private:
bus *const b { nullptr };
console *const cnsl { nullptr };
std::thread * th { nullptr };
std::atomic_bool stop_flag { false };
public:
kw11_l(bus *const b, console *const cnsl);
virtual ~kw11_l();
void operator()();
};