06-16-2011 09:00 AM
I am sending my code to sleep for a long time if there is no wifi connection as my app is dependent on being connected to a network via wifi.
I am succesfully listening for networkConnected and now want to wake my code up from t.sleep(10000);
I have tried calling the thread with notifyAll(), notify(), interrupt() bu it doesnt get woken up.
Is it possible to wake a thread up before it is meant to wake up?
Solved! Go to Solution.
06-16-2011 09:03 AM