mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 21:18:23 +00:00
mqueue: simplify the mqueue reailize
1. remove descript management in mqueue, save code size 2. use i_ops instead of i_mqueue to remove the dup logic Change-Id: Ie88960e50ddcae9c87977c9ad65a45297c663291 Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
0af4d1e617
commit
dcf8dae046
25 changed files with 291 additions and 842 deletions
|
|
@ -42,7 +42,6 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#include "queue.h"
|
||||
|
||||
/********************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
|
@ -66,7 +65,7 @@ struct mq_attr
|
|||
|
||||
/* Message queue descriptor */
|
||||
|
||||
typedef FAR struct mq_des *mqd_t;
|
||||
typedef int mqd_t;
|
||||
|
||||
/********************************************************************************
|
||||
* Public Data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue