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

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

1990/1004/sys/src/9/gnot/dat.h:150,1551990/1009/sys/src/9/gnot/dat.h:150,156 (short | long | prev | next)
1990/0623    
	int	nfont;		/* font structs (devbit.c) */ 
1990/0717    
	int	nurp;		/* max urp conversations */ 
1990/0911    
	int	nasync;		/* number of async protocol modules */ 
1990/1009    
	int	npipe;		/* number of pipes */ 
1990/03091    
}; 
 
struct Dev 
1990/1004/sys/src/9/gnot/dat.h:457,4701990/1009/sys/src/9/gnot/dat.h:458,470
1990/03091    
 */ 
struct Stream { 
	Lock;			/* structure lock */ 
1990/0620    
	int	inuse;		/* number of processes in stream */ 
	int	opens;		/* number of processes with stream open */ 
1990/0331    
	int	hread;		/* number of reads after hangup */ 
1990/03091    
	int	type;		/* correclation with Chan */ 
	int	dev;		/* ... */ 
	int	id;		/* ... */ 
1990/1009    
	short	inuse;		/* number of processes in stream */ 
	short	opens;		/* number of processes with stream open */ 
	ushort	hread;		/* number of reads after hangup */ 
	ushort	type;		/* correlation with Chan */ 
	ushort	dev;		/* ... */ 
	ushort	id;		/* ... */ 
1990/03091    
	QLock	rdlock;		/* read lock */ 
	QLock	wrlock;		/* write lock */ 
	Queue	*procq;		/* write queue at process end */ 
	Queue	*devq;		/* read queue at device end */ 
}; 


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