mqueueP.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* mqueueP.h - private header for POSIX 1003.4 message passing */
  2. /* Copyright 1984-1993 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,06apr93,smb written
  7. */
  8. #ifndef __INCmqueuePh
  9. #define __INCmqueuePh
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /* includes */
  14. #include "mqueue.h"
  15. #include "time.h"
  16. #include "signal.h"
  17. #include "msgQLib.h"
  18. #include "sigLib.h"
  19. typedef struct mq_info /* message queue description */
  20.     {
  21.     MSG_Q_ID            msgQId;   /* message queue identifier */
  22.     int close;   /* number of attachments */
  23.     int taskId;   /* task to notify */
  24.     struct sigpend      signalInfo;   /* notification information */
  25.     long                attrMaxmsg;   /* maximum number of messages */
  26.     long         attrMsgsize;      /* maximum message size */
  27.     long         attrCurmsgs;      /* number of messages queued */
  28.     char *              mq_name;   /* message queue name */
  29.     } MQ_INFO;
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* __INCmqueuePh */