there are serverl states of the Thread in Java
1 runnable: when thread starts,but it does not mean it run immediately
2 running:thread gets CPU schedule and start to run
3 waiting: thread calls wait() method
4 blocked on I/O or synchronized: a long time task or frequenced I/O access block the others threads
5 sleeping:thread calls sleep() method
6 dead:thread finish task