ProducerRunnable should check if it is alive in the run loop.
Logged In: NO
It is not actually alive but interrupted that should be checked.
The same goes for ConsumerRunnable although it is usually interrupted in a wait call, sending an exception.
Log in to post a comment.
Logged In: NO
It is not actually alive but interrupted that should be checked.
The same goes for ConsumerRunnable although it is usually
interrupted in a wait call, sending an exception.