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

1995/0108/port/portdat.h (diff list | history)

1995/0106/sys/src/9/port/portdat.h:177,1831995/0108/sys/src/9/port/portdat.h:177,185 (short | long | prev | next)
add Dev.bread, Dev.bwrite; change yield to yield and inlock
rsc Fri Mar 4 12:44:25 2005
1992/0824    
	void	(*create)(Chan*, char*, int, ulong); 
	void	(*close)(Chan*); 
	long	(*read)(Chan*, void*, long, ulong); 
1995/0108    
	Block*	(*bread)(Chan*, long, ulong); 
1992/0824    
	long	(*write)(Chan*, void*, long, ulong); 
1995/0108    
	long	(*bwrite)(Chan*, Block*, ulong); 
1992/0824    
	void	(*remove)(Chan*); 
	void	(*wstat)(Chan*, char*); 
1991/0428    
}; 
1995/0106/sys/src/9/port/portdat.h:587,5931995/0108/sys/src/9/port/portdat.h:589,596
1995/0102    
	Mach	*wired;		/* machine this process must run on */ 
	int	pri;		/* scheduling priority - low is high priority */ 
1995/0106    
	short	nice;		/* time-passing algorithm - low is high priority */ 
	short	yield;		/* force one lap in the runq */	 
1995/0108    
	char	yield;		/* force one lap in the runq */ 
	char	inlock;		/* temp hi proirity ~= 2*num of locks set */ 
1993/1204    
 
1993/0501    
	void	*ureg;		/* User registers for notes */ 
	void	*dbgreg;	/* User registers for devproc */ 


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