home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / System / MorphOS / Developer / include / public / quark / quark.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-02  |  975 b   |  36 lines

  1. #ifndef    QUARK_QUARK_H
  2. #define    QUARK_QUARK_H
  3.  
  4. #include <public/quark/types.h>
  5. #include <public/quark/id.h>
  6.  
  7. #define QQUARK_DUMMY        (0x0)
  8.  
  9. /* Sequence: QQUARKTAG_TID, char *Name
  10.  * Function: Get
  11.  *           Get the TID with the specified name
  12.  */
  13. #define    QQUARKTAG_TID            (QQUARK_DUMMY + 0x1)
  14.  
  15. /* Sequence: QQUARKTAG_EXCEPTIONTID
  16.  * Function: Get
  17.  * Get the next ExceptionTID or ID_NULL if no
  18.  * further exception threads are found.
  19.  * When it finds a thread which has a pending
  20.  * exception it adds them to the Wait list with
  21.  * a SigWait mask of 0.
  22.  * So your exception thread can wake it up again
  23.  * by QSignal(MyExceptionThread,0);
  24.  * Only useful for global exception handlers to
  25.  * get the threads from the exception fifo.
  26.  */
  27. #define    QQUARKTAG_GETEXCEPTIONTHREAD    (QQUARK_DUMMY + 0x2)
  28.  
  29. /* Sequence: QQUARKTAG_EXCEPTIONHANDLER, q_tid_t
  30.  * Function: Get/Set
  31.  *           Get/Set the global exceptionhandler
  32.  */
  33. #define    QQUARKTAG_EXCEPTIONHANDLER    (QQUARK_DUMMY + 0x3)
  34.  
  35. #endif
  36.