I have a thread (threadA) that will execute a task at a time (timeA), and i have another class that will stop threadA. threadA will sleep and wait until the time for it to run.
my question is :
1. how can i stop the thread
2. i wonder can i change the sleep time during it is sleeping.