mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Convert mqueue structure for use in VFS as inode data; rename mqueue_inode_s; remove links, reference counts and name from mqueue structure. These will be replaced by VFS data. Remove g_msgqueues and mq_findnamed.c; these will be replace with VFS logic
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
#if CONFIG_MQ_MAXMSGSIZE > 0
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define MQ_MAX_BYTES CONFIG_MQ_MAXMSGSIZE
|
||||
@@ -86,8 +86,6 @@ enum mqalloc_e
|
||||
MQ_ALLOC_IRQ /* Preallocated, reserved for interrupt handling */
|
||||
};
|
||||
|
||||
typedef enum mqalloc_e mqalloc_t;
|
||||
|
||||
/* This structure describes one buffered POSIX message. */
|
||||
|
||||
struct mqmsg
|
||||
@@ -117,10 +115,6 @@ extern "C"
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/* This is a list of all opened message queues */
|
||||
|
||||
EXTERN sq_queue_t g_msgqueues;
|
||||
|
||||
/* The g_msgfree is a list of messages that are available for general use.
|
||||
* The number of messages in this list is a system configuration item.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user