home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -seriously_amiga- / programming / other / blowup / source / blowupsemaphore.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-27  |  968 b   |  40 lines

  1. /*
  2.  * $Id$
  3.  *
  4.  * :ts=4
  5.  *
  6.  * Blowup -- Catches and displays task errors
  7.  *
  8.  * Written by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
  9.  * Public Domain
  10.  */
  11.  
  12. #ifndef _BLOWUPSEMAPHORE_H
  13. #define _BLOWUPSEMAPHORE_H 1
  14.  
  15. /****************************************************************************/
  16.  
  17. #define BLOWUPSEMAPHORENAME    "« Blowup »"
  18. #define BLOWUPSEMAPHOREVERSION 1
  19.  
  20. /****************************************************************************/
  21.  
  22. struct BlowupSemaphore
  23. {
  24.     struct SignalSemaphore    bs_SignalSemaphore;    /* regular semaphore */
  25.     WORD                    bs_Version;            /* semaphore version number */
  26.  
  27.     UBYTE                    bs_SemaphoreName[(sizeof(BLOWUPSEMAPHORENAME)+3) & ~3];
  28.  
  29.     struct Task *            bs_Owner;            /* semaphore owner (creator) */
  30.  
  31.     BOOL *                    bs_ARegCheck;        /* all options */
  32.     BOOL *                    bs_DRegCheck;
  33.     BOOL *                    bs_StackCheck;
  34.     LONG *                    bs_StackLines;
  35. };
  36.  
  37. /****************************************************************************/
  38.  
  39. #endif /* _BLOWUPSEMAPHORE_H */
  40.