DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦3229f146b⟧ TextFile

    Length: 966 (0x3c6)
    Types: TextFile
    Notes: UNIX file
    Names: »csem.h«

Derivation

└─⟦22cab2c1b⟧ Bits:30004042/kcaddon.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦22cab2c1b⟧ UNIX Filesystem
    └─⟦this⟧ »KC/new/usr/include/sys/csem.h« 

TextFile

/* csem.h 87.03.26 */

/* merge 86.01.13 jenh */
/* rctypes.h 85.02.11 */
/* rcparams.h 85.02.21 */
/* 86.01.14 unnamed semaphores */
/* 86.06.10 release 4.0 */
/* 87.03.24 moved from rc39 to xyz */
/* 87.03.26 split into chain.h, csem.h, imc.h */

#define CSNAMESIZE 8

struct chain_sem {
  struct chain chain; 
  short cs_bcnt;
  short cs_bufcount;
  short cs_pid;
  short cs_state;
  short cs_pcnt;
  union { struct chain a_chain[2];
          struct { struct chain w_chain,
                                s_chain;
                 } e_chain;
        } u_chain;
  struct buf *cs_bfirst,
             *cs_blast;
};

struct name_sem {
  struct chain_sem ns_sem;
  char ns_name[CSNAMESIZE];
};

#define cs_wchain u_chain.e_chain.w_chain
#define cs_schain u_chain.e_chain.s_chain
#define cs_achain u_chain.a_chain
#define WCH 0
#define SCH 1


/* flags in lp_flag */

#define SEMFLAG		0x8000
#define WAITFLAG	0x4000
#define IMCFLAG		0x2000
#define STARTFLAG	0x0800