home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / OOFILE / Buildable, limited OOFILE / c-tree headers / ctsema.h < prev    next >
Encoding:
Text File  |  1994-11-12  |  1.3 KB  |  38 lines  |  [TEXT/CWIE]

  1. /*
  2.  *    This program is the CONFIDENTIAL and PROPRIETARY property 
  3.  *    of FairCom(R) Corporation. Any unauthorized use, reproduction or
  4.  *    transfer of this computer program is strictly prohibited.
  5.  *
  6.  *      Copyright (c) 1984 - 1994 FairCom Corporation.
  7.  *    This is an unpublished work, and is subject to limited distribution and
  8.  *    restricted disclosure only. ALL RIGHTS RESERVED.
  9.  *
  10.  *            RESTRICTED RIGHTS LEGEND
  11.  *    Use, duplication, or disclosure by the Government is subject to
  12.  *    restrictions set forth in subparagraph (c)(1)(ii) of the Rights in
  13.  *     Technical Data and Computer Software clause at DFARS 252.227-7013.
  14.  *    FairCom Corporation, 4006 West Broadway, Columbia, MO 65203.
  15.  *
  16.  *    c-tree PLUS(tm)    Version 6.4
  17.  *            Release B
  18.  *            October 19, 1994
  19.  */
  20.  
  21. #ifndef ctSEMA
  22. #define ctSEMA
  23.  
  24. #ifdef ctDBGSEM 
  25. #define SNAMELEN    4
  26. #endif
  27.  
  28. typedef struct semaphore {
  29.     LONG    flag;
  30.     COUNT    ownr;
  31.     COUNT    padg;
  32. #ifdef ctDBGSEM 
  33.     TEXT    snam[SNAMELEN];    /* debugging */
  34. #endif
  35. } SEMA;
  36. typedef SEMA ctMEM *    pSEMA;
  37.  
  38. typedef struct stkstk