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

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

1990/1211/sys/src/9/gnot/dat.h:153,1581990/1212/sys/src/9/gnot/dat.h:153,159 (short | long | prev | next)
1990/1104    
	int	nservice;	/* number of services */ 
1990/1110    
	int	nfsyschan;	/* number of filsys open channels */ 
1990/1211    
	ulong	maxialloc;	/* maximum bytes used by ialloc */ 
1990/1212    
	int	copymode;	/* 0 is copy on write, 1 is copy on reference */ 
1990/03091    
}; 
 
struct Dev 
1990/1211/sys/src/9/gnot/dat.h:448,4541990/1212/sys/src/9/gnot/dat.h:449,456
1990/03091    
	Queue	*next;		/* next queue in the stream */ 
	void	(*put)(Queue*, Block*); 
1990/1018    
	QLock	rlock;		/* mutex for processes sleeping at r */ 
1990/03091    
	Rendez	r; 
1990/1212    
	Rendez	r;		/* standard place to wait for flow control */ 
	Rendez	*rp;		/* where flow control wakeups go to */ 
1990/03091    
	void	*ptr;		/* private info for the queue */ 
}; 
#define QHUNGUP	0x1	/* flag bit meaning the stream has been hung up */ 


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