(Under software architecture/design)
I'm not sure how my question could be subjective but the message next to the title suggests that it is. I hope I'm not violating the rules here.
Under what circumstances or application would you need absolute precision with thread execution timing( thread sleep, back to life and execution with precision)?
And how do you guarantee that with Java ?
I was reading again Kathy Sierra's SCJP/OCP. It says
Just because a thread's sleep() expires, and it wakes up, does not mean it will return to running! Remember, when a thread wakes up, it simply goes back to the runnable state. So the time specified in sleep() is the minimum duration in which the thread won't run, but it is not the exact duration in which the thread won't run.
Then how do you write code for something very critical that needs absolute precision in Java?