Next: Creating a threaded class
Up: Threads
Previous: Applications without multiple threads
Contents
- new - an empty thread, with no system resources allocated; all you can do is start it.
- runnable - the start() method is called, and the thread is not dead or in the ``not runnable'' state.
- not runnable - sleep() is invoked, thread calls wait(), thread is blocking on I/O.
- dead - the end of the run() method has been reached.
Next: Creating a threaded class
Up: Threads
Previous: Applications without multiple threads
Contents