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

1991/0803/pc/devfloppy.c (diff list | history)

1991/0802/sys/src/9/pc/devfloppy.c:367,3721991/0803/sys/src/9/pc/devfloppy.c:367,373 (short | long | prev | next)
1991/0731    
floppykproc(void *a) 
1991/0727    
{ 
	Drive *dp; 
1991/0803    
	int disp = 0; 
1991/0727    
 
1991/0802    
	waserror(); 
	for(;;){ 
1991/0802/sys/src/9/pc/devfloppy.c:378,3841991/0803/sys/src/9/pc/devfloppy.c:379,391
1991/0802    
				qunlock(dp); 
			} 
1991/0728    
		} 
1991/0803    
		disp++; 
		if(owl(disp&1) < 0) 
			print("owl failed\n"); 
		if(mail((disp>>1)&1) < 0) 
			print("mail failed\n"); 
1991/0802    
		tsleep(&floppy.kr, return0, 0, 5*1000); 
1991/0803    
		 
1991/0727    
	} 
} 
 


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