mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
update POSIX mqueue .
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1124 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include <sys/signal.h>
|
||||
#include <pthread.h>
|
||||
|
||||
struct posix_mq
|
||||
struct mqdes
|
||||
{
|
||||
/* reference count and unlinked */
|
||||
rt_uint16_t refcount;
|
||||
@@ -16,14 +16,7 @@ struct posix_mq
|
||||
/* RT-Thread message queue */
|
||||
rt_mq_t mq;
|
||||
/* next posix mqueue */
|
||||
struct posix_mq* next;
|
||||
};
|
||||
typedef struct posix_mq posix_mq_t;
|
||||
|
||||
struct mqdes
|
||||
{
|
||||
rt_uint32_t flags;
|
||||
posix_mq_t* mq;
|
||||
struct mqdes* next;
|
||||
};
|
||||
typedef struct mqdes* mqd_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user