24#ifndef _XENOMAI_VXWORKS_MSGQLIB_H
25#define _XENOMAI_VXWORKS_MSGQLIB_H
27#include <vxworks/types.h>
29typedef uintptr_t MSG_Q_ID;
31#define MSG_PRI_NORMAL 0
32#define MSG_PRI_URGENT 1
35#define MSG_Q_PRIORITY 0x1
41MSG_Q_ID msgQCreate(
int maxMsgs,
int maxMsgLength,
int options);
43STATUS msgQDelete(MSG_Q_ID msgQId);
45int msgQNumMsgs(MSG_Q_ID msgQId);
47int msgQReceive(MSG_Q_ID msgQId,
char *buf, UINT bytes,
int timeout);
49STATUS msgQSend(MSG_Q_ID msgQId,
const char *buf, UINT bytes,
50 int timeout,
int prio);