Move retry loop/sleep/wakeup in bio.c into sleeping locks
This commit is contained in:
		
							parent
							
								
									6670d3b5e0
								
							
						
					
					
						commit
						2adb7c21dc
					
				
					 3 changed files with 31 additions and 28 deletions
				
			
		
							
								
								
									
										2
									
								
								defs.h
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								defs.h
									
										
									
									
									
								
							|  | @ -131,7 +131,7 @@ void            popcli(void); | |||
| 
 | ||||
| // sleeplock.c
 | ||||
| void            acquiresleep(struct sleeplock*); | ||||
| void            releasesleep(struct sleeplock*); | ||||
| void             releasesleep(struct sleeplock*); | ||||
| int             holdingsleep(struct sleeplock*); | ||||
| void            initsleeplock(struct sleeplock*, char*); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frans Kaashoek
						Frans Kaashoek