xiaoxiang781216 commented on code in PR #7088:
URL: https://github.com/apache/incubator-nuttx/pull/7088#discussion_r997306041


##########
include/nuttx/mqueue.h:
##########
@@ -83,16 +83,23 @@
  * Public Type Declarations
  ****************************************************************************/
 
+/* Common prologue of all message queue structures. */
+
+struct mqueue_comm_s
+{
+  int16_t nwaitnotfull;       /* Number tasks waiting for not full */
+  int16_t nwaitnotempty;      /* Number tasks waiting for not empty */
+};
+
 /* This structure defines a message queue */
 
 struct mqueue_inode_s
 {
+  struct mqueue_comm_s comm;  /* Common prologue */

Review Comment:
   no change?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to