Hi All,
Can someone tell me what I am doing wrong here? The program seems to execute eternally(and does not print DONE) though I am changing the condition of the boolean variable in the
thread. Basically, I want the main thread to resume once a condition is satisfied in the thread. How do I achieve that?
Thanks in advance,
Preethi