Add a Port poll operation
This commit is contained in:
parent
21b73b5b92
commit
35f24e7c77
6 changed files with 49 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue