htc: implement htclow listener thread
This commit is contained in:
1 parent
c9c41e0e8d
commit
2341f18edd
21 files changed
+669
-11
No files matched your search
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user