Java Wake Sleeping Thread
I did some reading of other post but didn't find an exact answer to what I'm looking for, so I hope someone can give some some clarification. I have a program that will run for some time. I have some threads that run in the back ground that perform various tasks, to keep things simple let think of 3 threads. ThreadA performs a task every 10 seconds, where ThreadB does something every 30 seconds and ThreadC does something every 5 mintues. I don't use busy waiting, and put the threads to sleep for the designated times. My question is regarding a clean shut down. I have a variable that each of