plan 9 kernel history: overview | file list | diff list

1990/0312/gnot/dat.h (diff list | history)

1990/03091/sys/src/9/gnot/dat.h:281,2871990/0312/sys/src/9/gnot/dat.h:281,286 (short | long | prev | next)
1990/03091    
struct Proc 
{ 
	Label	sched; 
	Lock; 
	Mach	*mach;			/* machine running this proc */ 
	char	text[NAMELEN]; 
	Proc	*rnext;			/* next process in run queue */ 
1990/03091/sys/src/9/gnot/dat.h:422,4281990/0312/sys/src/9/gnot/dat.h:421,428
1990/03091    
#define STREAMTYPE(x)	((x)&0x1f) 
#define STREAMID(x)	(((x)&~CHDIR)>>5) 
#define STREAMQID(i,t)	(((i)<<5)|(t)) 
#define PUTNEXT(q,b)	(*(q)->next->put)((q)->next, bp) 
1990/0312    
#define PUTNEXT(q,b)	(*(q)->next->put)((q)->next, b) 
#define BLEN(b)		((b)->wptr - (b)->rptr) 
1990/03091    
 
/* 
 *  stream file qid's & high water mark 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)