commit | d681bbdc10cedbf74a4492601e08841843026215 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sat Feb 02 12:03:32 2019 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Sat Feb 02 12:16:23 2019 -0800 |
tree | cd7d82f178476675f2d77c04dfe618beabeb45f8 | |
parent | de181d2e71a4d6b0a8db130606021b8ed84f8592 [diff] [blame] |
Expose name() of senders Change-Id: Ia1e97cf5dc8f1e92728626b21fcf1b7f4da4e6b1
diff --git a/aos/ipc_lib/queue.h b/aos/ipc_lib/queue.h index f21295f..6fef1d5 100644 --- a/aos/ipc_lib/queue.h +++ b/aos/ipc_lib/queue.h
@@ -144,6 +144,9 @@ // only 1 task is using this object (ie in tests). int FreeMessages() const; + // Returns the name of the queue. + const char *name() const { return name_; } + private: struct MessageHeader;