Hi Ed,
I noticed that the behavior of the example in the book was different from the Lunar Lander example.
In the book, in Chapter 10 (p 187) -
In Lunar Lander example, the call is made inside a loop catching the InterruptedException -
Looks like the first version might cause a problem if the thread is interrupted.
Will that be a problem in practice?
Cheers,
Sonny
I noticed that the behavior of the example in the book was different from the Lunar Lander example.
In the book, in Chapter 10 (p 187) -
In Lunar Lander example, the call is made inside a loop catching the InterruptedException -
Looks like the first version might cause a problem if the thread is interrupted.
Will that be a problem in practice?
Cheers,
Sonny