Cygwin: FIFO: update fixup_after_fork
Fixup each client. Reset listen_client_thr and lct_termination_evt.
This commit is contained in:
		
				
					committed by
					
						 Corinna Vinschen
						Corinna Vinschen
					
				
			
			
				
	
			
			
			
						parent
						
							035bf7dc84
						
					
				
				
					commit
					e02a0f7295
				
			| @@ -850,6 +850,15 @@ fhandler_fifo::fixup_after_fork (HANDLE parent) | |||||||
|   fhandler_base::fixup_after_fork (parent); |   fhandler_base::fixup_after_fork (parent); | ||||||
|   fork_fixup (parent, read_ready, "read_ready"); |   fork_fixup (parent, read_ready, "read_ready"); | ||||||
|   fork_fixup (parent, write_ready, "write_ready"); |   fork_fixup (parent, write_ready, "write_ready"); | ||||||
|  |   for (int i = 0; i < nclients; i++) | ||||||
|  |     { | ||||||
|  |       client[i].fh->fhandler_base::fixup_after_fork (parent); | ||||||
|  |       fork_fixup (parent, client[i].connect_evt, "connect_evt"); | ||||||
|  |       fork_fixup (parent, client[i].dummy_evt, "dummy_evt"); | ||||||
|  |     } | ||||||
|  |   listen_client_thr = NULL; | ||||||
|  |   lct_termination_evt = NULL; | ||||||
|  |   fifo_client_unlock (); | ||||||
| } | } | ||||||
|  |  | ||||||
| void | void | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user