Add a Port poll operation

This commit is contained in:
Drew Galbraith 2023-06-16 23:15:28 -07:00
parent 21b73b5b92
commit 35f24e7c77
6 changed files with 49 additions and 0 deletions

View file

@ -24,6 +24,8 @@ class Port : public KernelObject {
z_err_t Write(const ZMessage& msg);
z_err_t Read(ZMessage& msg);
bool HasMessages();
private:
struct Message {
uint64_t type;