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

1990/0424/port/sturp.c (diff list | history)

1990/0406/sys/src/9/port/sturp.c:370,3771990/0424/sys/src/9/port/sturp.c:370,377 (short | long | prev | next)
1990/0312    
	 *  queue the block(s) 
1990/0227    
	 */ 
1990/0312    
	if(BLEN(bp) > 0){ 
1990/0424    
		bp->flags &= ~S_DELIM; 
1990/0312    
		putq(q, bp); 
		q->last->flags &= ~S_DELIM; 
		if(q->len > 4*1024){ 
1990/0227    
			flushinput(up); 
			return; 
1990/0406/sys/src/9/port/sturp.c:472,4781990/0424/sys/src/9/port/sturp.c:472,479
1990/0312    
				PUTNEXT(q, bp); 
1990/0227    
		} else { 
			bp = allocb(0); 
1990/0312    
			bp->flags |= S_DELIM; 
1990/0424    
			if(up->trbuf[0] != BOTM) 
				bp->flags |= S_DELIM; 
1990/0227    
			PUTNEXT(q, bp); 
1990/0312    
		} 
1990/0227    
		up->trx = 0; 


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