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

1992/0305/port/portdat.h (diff list | history)

1992/0303/sys/src/9/port/portdat.h:626,6321992/0305/sys/src/9/port/portdat.h:626,632 (short | long | prev | next)
Bug fix? Add PUTNEXT to FLOWCTL.
rsc Fri Mar 4 12:44:25 2005
1991/0428    
#define PUTNEXT(q,b)	(*(q)->next->put)((q)->next, b) 
#define BLEN(b)		((b)->wptr - (b)->rptr) 
#define QFULL(q)	((q)->flag & QHIWAT) 
#define FLOWCTL(q)	{ if(QFULL(q->next)) flowctl(q); } 
1992/0305    
#define FLOWCTL(q,b)	{ if(QFULL(q->next)) flowctl(q,b); else PUTNEXT(q,b);} 
1991/0428    
 
/* 
 *  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)