htc: implement htclow listener thread

This commit is contained in:
Michael Scire 2021-02-08 05:45:23 -08:00 committed by SciresM
parent c9c41e0e8d
commit 2341f18edd
21 changed files with 669 additions and 11 deletions

View file

@ -20,6 +20,17 @@ namespace ams::htclow {
class Packet : public util::IntrusiveListBaseNode<Packet> {
/* TODO */
public:
virtual ~Packet();
};
struct PacketDeleter {
mem::StandardAllocator *m_allocator;
void operator()(Packet *packet) {
std::destroy_at(packet);
m_allocator->Free(packet);
}
};
}