I found this article about Java Thread and its life-cycle very short, precise and importantly easy to assimilate. Especially the diagram is illustrative and visually easy to grasp.
Refer Java Programming Language by James Josling, Ken Arnold and David Holmes. A great book for all Java Programmers and unfortunately I found many Java programmers not having it in their book shelves. Though I haven't been able to master Java as I expected, but as I own this book, I have lot of confidence in getting my doubts about the concepts clear. Below are some of the points I collect from this book.
1. Thread - Abstracts the concept of worker. It will do what you give as work and thread scheduling algorithmm will decide when the worker has to do your work.
2. Runnable - Abstracts the concept of work.
Saturday, September 15, 2007
Subscribe to:
Comments (Atom)