Android Question The end of the thread

MomoWen

Member
Licensed User
I'm using multithreaded programming and need to manually control thread death.I use interrupt, but the thread will resume because I used "sleep"
 

MomoWen

Member
Licensed User
No, I use threads to run the hardware test steps.When I interrupt a hardware test, I need to end the thread.But because of dormancy.When he restarts the hardware test step, he will resume the state he was in when hibernation was suspended
 
Upvote 0

MomoWen

Member
Licensed User
It requires a waiting time for a reply, during which the thread is dormant.To wait for the hardware to reply.But if interrupts occur during hibernation.When tested again, the thread will resume the dormant suspended state
 
Upvote 0
Top