SyntaxFix
Write A Post
Hire A Developer
Questions
You could also use the CountDownLatch object like explained here.
CountDownLatch