I have several threads running at the same time. I want to implement a function that saves the state of my thread and stops it, knowing that I do not want to kill it (there is no Thread.stop ()), because I am also looking for a function that allows stains to continue my thread (since the state in which it stopped)
source
share