1. Thread Life Cycle Management
- Start, Suspend, Resume, Interrupt, About, Join (when using the Thread is very much)
- Start: Start a thread. (Equivalent to begin)
- Supspend: The thread has been suspended. (Equivalent to pause)
- Resume: resume a suspended thread. (Equivalent to continue)
- Interrupt: Interrupt threads are WaitSleepJoin thread state. (Corresponding to continue effect)
- About: Calling this method usually terminates the thread (equivalent to break effect)
- Join: calling thread waits for the child thread execution was carried out after the completion of
There is a small Demo link: https://pan.baidu.com/s/1CVcFQ3hhR1aOivhbdF8fYw extraction code: x5dk