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

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

1990/0312/sys/src/9/power/dat.h:54,631990/0322/sys/src/9/power/dat.h:54,63 (short | long | prev | next)
1990/0227    
 
struct QLock 
{ 
1990/0322    
	Lock;				/* to use object */ 
1990/0227    
	Proc	*head;			/* next process waiting for object */ 
	Proc	*tail;			/* last process waiting for object */ 
	Lock	use;			/* to use object */ 
	Lock	queue;			/* to access list */ 
1990/0322    
	int	locked;			/* flag; is locked */ 
1990/0227    
}; 
 
struct Label 
1990/0312/sys/src/9/power/dat.h:307,3141990/0322/sys/src/9/power/dat.h:307,313
1990/03081    
	Proc	*pop;			/* some ascendant */ 
	Proc	*kid;			/* some descendant */ 
	Proc	*sib;			/* non-ascendant relatives (circular list) */ 
1990/0227    
	int	nchild; 
	QLock	wait;			/* exiting children to be waited for */ 
1990/0322    
	Rendez	exit;			/* child sleeps; parent wakes up */ 
1990/0227    
	Waitmsg	*waitmsg; 
	Proc	*child; 
	Proc	*parent; 
1990/0312/sys/src/9/power/dat.h:451,4571990/0322/sys/src/9/power/dat.h:450,456
1990/0227    
	Sdataqid = Shighqid, 
	Sctlqid = Sdataqid-1, 
	Slowqid = Sctlqid, 
	Streamhi= (32*1024),	/* stream high water mark */ 
1990/0322    
	Streamhi= (9*1024),	/* stream high water mark */ 
1990/0227    
}; 
 
#define	PRINTSIZE	256 


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