Thread

Threads are known as Light Weight Processess. These are light weight as the threads share the data and code segment among its siblings. Bil Lewis and Daniel J. Berg, "MultiThreaded Programming with Pthreads", Prentice-Hall, NJ, 1998, ISBN 0-13-680729 is a good text book. An older version is found on line book . Threads are implemented as library package withC and C++. It can be found in Library . Example C programs using Thread can be found in Examples .

Threads are implemented as a part of Java Language Package. Thread class is found in java.lang.Thread. Because Threads share data and code segments, synchronized is used as a qualifier for mutual exclusive accesses. Thread Methods can be found in Library . Example Java Programs can be found in Examples