Hi, this is a console program thank you in advance
John Smith
Ranch Hand
Joined: Oct 08, 2001
Posts: 2937
posted
0
If your inter-thread communication uses the wait()/notify() mechanism, -- you can do just that, -- notify the waiting thread so that it can resume. If the thread in question contains a while loop as part of its run() method, you can set a boolean to terminate to exit from that loop.
Ernest Friedman-Hill
author and iconoclast
Marshal