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

1990/0406/port/stream.c (diff list | history)

1990/0403/sys/src/9/port/stream.c:392,3981990/0406/sys/src/9/port/stream.c:392,398 (short | long | prev | next)
1990/0227    
			q->last = 0; 
1990/0312    
		q->len -= BLEN(bp); 
1990/0403    
		q->nb--; 
		if((q->flag&QHIWAT) && q->len < Streamhi/2 && q->nb < Streambhi){ 
1990/0406    
		if((q->flag&QHIWAT) && q->len<Streamhi/2 && q->nb<Streambhi/2){ 
1990/0227    
			wakeup(&q->other->next->other->r); 
			q->flag &= ~QHIWAT; 
		} 
1990/0403/sys/src/9/port/stream.c:942,9511990/0406/sys/src/9/port/stream.c:942,948
1990/0227    
static int 
notfull(void *arg) 
{ 
	Queue *q; 
                 
	q = (Queue *)arg; 
1990/0403    
	return !QFULL(q->next); 
1990/0406    
	return !QFULL((Queue *)arg); 
1990/0227    
} 
void 
flowctl(Queue *q) 


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