This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
How do I create a thread and have it do nothing except wait to receive an event notification, at which point some code gets executed and once the code is complete, the thread goes idle again and waits for the next notification?
I've found that if you create and start a thread that doesn't do anything, it just starts, stops and is gone.
Thanks in advance
Joined: Apr 06, 2007
Mods can delete this post if they want. I've found a good solution here: