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