home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / pExec / MsgPort.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-11  |  2.5 KB  |  74 lines

  1. @DATABASE "pExec/MsgPort.h"
  2. @MASTER   "Work2:AD/IInc/pExec/MsgPort.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:34:28
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pExec/MsgPort.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pExec/MsgPort.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_Message" LINK "pExec/MsgPort.h/File" 41}  @{"pOS_MsgPort" LINK "pExec/MsgPort.h/File" 18}
  16.  
  17. @ENDNODE
  18. @NODE File "pExec/MsgPort.h"
  19. #ifndef __INC_POS_PEXEC_MSGPORT_H
  20. #define __INC_POS_PEXEC_MSGPORT_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>MsgPort.h<<   12 Sep 1996    10:14:51 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PEXEC_LIST_H
  30. #include <@{"pExec/List.h" LINK "pExec/List.h/File"}>
  31. #endif
  32.  
  33.  
  34. /*----------------------------------
  35. -----------------------------------*/
  36. struct pOS_MsgPort
  37. {
  38.   @{"struct pOS_ExNode" LINK "pExec/List.h/File" 37}  mp_Node;
  39.   @{"UBYTE" LINK "pExec/Types.h/File" 95}              mp_Flags;      /* (enum pOS_MsgPortFlag) */
  40.   @{"UBYTE" LINK "pExec/Types.h/File" 95}              mp_SigBit;     /* signal bit number    */
  41.   @{"struct pOS_Task" LINK "pExec/Task.h/File" 18}   *mp_SigTask;    /* object to be signalled */
  42.   @{"struct pOS_ExList" LINK "pExec/List.h/File" 50}  mp_MsgList;    /* message linked list  */
  43. };
  44.  
  45.  
  46. enum pOS_MsgPortFlag
  47. {
  48.   MSGPORTF_Signal    =0x00, /* Signal an Task (mp_SigTask) senden */
  49.   MSGPORTF_SoftInt   =0x01, /* Softinterrupt an pOS_Interrupt* (mp_SigTask) */
  50.   MSGPORTF_Ignore    =0x02, /* kein Signal, kein Interrupt auslösen */
  51.   MSGPORTF_Mask      =0x07,
  52.  
  53.   MSGPORTF_TPEnqueue =0x08, /* Enqueue Request like Task-Priority */
  54. };
  55.  
  56.  
  57. /*----------------------------------
  58. -----------------------------------*/
  59. struct pOS_Message
  60. {
  61.   @{"struct pOS_ExNode" LINK "pExec/List.h/File" 37}   mn_Node;
  62.   @{"struct pOS_MsgPort" LINK File 18} *mn_ReplyPort;     /* message reply port */
  63.   @{"UWORD" LINK "pExec/Types.h/File" 93}               mn_Length;        /* total message length, in bytes
  64.                                         ** (include the size of the Message
  65.                                         ** structure in the length).
  66.                                         ** In privaten Ports kann dieser Wert beliebig
  67.                                         ** gesetzt werden.
  68.                                         */
  69. };
  70.  
  71.  
  72. #endif
  73. @ENDNODE
  74.