hi,
comment synchroniser un thread main avec un sous thread?
mon problème est le suivent, j'exécute un processe runtime à l'intérieur du thread main, sauf que quand je metmon programme marche, j'ai conclus alors que c'est mon thread principal qui n'attend pas le fin de l'exécution de mon thread fils.
Code : Sélectionner tout - Visualiser dans une fenêtre à part Thread.sleep(10000)
merci pour votre aide

 

 
		
		 
        

 
			
			

 
   


 synchronisation Thread main avec sous thread
 synchronisation Thread main avec sous thread
				 Répondre avec citation
  Répondre avec citation
Partager