threadA were to wait for threadB to finish
In thread A, include the following line
threadB.join();
This will make thread A wait for thread B to finish before terminating itself
K. Mahesh
Have a nice day,
K. Mahesh
kay.mahesh@lycos.com
+91-124-6325025
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.