When i click on a button, i would like to start action. When theses both actions would be finish, i want to start another action, this one need the result of both actions previous terminated.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Start a thread which starts two more threads and waits for them to finish i.e. join(). When the two have finished the first thread can do the work which comes after.