|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1145 (0x479) Types: TextFile Notes: Uncompressed file
└─⟦ce621b962⟧ Bits:30004623 Controller Environment R. 1.2 (5.25 inch) └─⟦ce621b962⟧ UNIX Filesystem └─⟦8b2483275⟧ »CTENV.ISC/new/usr/include/sys/csem.h.Z« └─⟦8b2483275⟧ »CTENV.SCO/new/usr/include/sys/csem.h.Z« └─⟦e03896eec⟧ Bits:30004624 Controller Environment R. 1.2 (3.5 inch) └─⟦e03896eec⟧ UNIX Filesystem └─⟦8b2483275⟧ »CTENV.ISC/new/usr/include/sys/csem.h.Z« └─⟦8b2483275⟧ »CTENV.SCO/new/usr/include/sys/csem.h.Z« └─⟦this⟧
#ident "@(#)csem.h 1.1 - 91/05/02" /* 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 */ /* 89.02.29 added PRISEM */ #define PRISEM 26 #define CSNAMESIZE 8 struct chain_sem { struct chain chain; short cs_bcnt; /* Number of buffers in chain */ short cs_bufcount; /* # of waiting procs or # of bufs */ short cs_pid; /* Creator */ 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