| |
GeekInterview.com > Interview Questions > Operating System > Windows & Unix
| Print | |
Question: What is the difference between process and thread?
|
| August 08, 2006 06:55:50 |
#5 |
| amit singh |
Member Since: Visitor Total Comments: N/A |
RE: What is the difference between process and thread.... |
| A thread is a stream of instructions which can be scheduled independently(i.e it has its own program counter and stack).But a thread shares its resources like program code,directories and global data with the calling process.A process on the other hand has its own copy of both resources and scheduling information.A process can have many threads,basically threads are called light weight processes. |
| |
Back To Question | |