SyntaxFix
Write A Post
Hire A Developer
Questions
Generally, when you want to wait for a thread to finish, you should call join() on it.