test56: fix race condition
Change-Id: I42bfe2b150e92f760794b4a03e62859c8bd7a992
This commit is contained in:
		
							parent
							
								
									cbc8a0df90
								
							
						
					
					
						commit
						e5808135dd
					
				| @ -3236,6 +3236,8 @@ test_intr(void) | |||||||
| 		/* No partial transfers should be happening. */ | 		/* No partial transfers should be happening. */ | ||||||
| 		check_select(client_sd, 0 /*read*/, 1 /*write*/, 0 /*block*/); | 		check_select(client_sd, 0 /*read*/, 1 /*write*/, 0 /*block*/); | ||||||
| 
 | 
 | ||||||
|  | 		sleep(1); | ||||||
|  | 
 | ||||||
| 		fcntl(client_sd, F_SETFL, fcntl(client_sd, F_GETFL) | | 		fcntl(client_sd, F_SETFL, fcntl(client_sd, F_GETFL) | | ||||||
| 		    O_NONBLOCK); | 		    O_NONBLOCK); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 David van Moolenbroek
						David van Moolenbroek