mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	igt/gem_ctx_thread/processes: Serialise after forking children
Play nice, especially with the subtest, and wait for the children to exit before finishing the test. If we don't we end up with a fork bomb for some unknown reason... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
		
							parent
							
								
									9f389d00cf
								
							
						
					
					
						commit
						4bde754349
					
				@ -219,6 +219,7 @@ processes(void)
 | 
			
		||||
			drm_intel_bufmgr_destroy(bufmgr);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	igt_waitchildren();
 | 
			
		||||
 | 
			
		||||
	for (n = 0; n < num_ctx; n++)
 | 
			
		||||
		close(all_fds[n]);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user