What is the Difference between a process and a thread?



What is the Difference between a process and a thread?..

Answer / Lalan Babu

A process is an instance of a program that is currently being executed. It consists of its own memory space, set of open files, environment variables, etc. A thread, on the other hand, is a lightweight sub-process within a single program sharing the same memory space and resources as its parent process. Threads are used to execute multiple tasks simultaneously within the same process.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

List advantages and disadvantages of dynamic memory allocation vs. static memory allocation.?

1 Answers  


What is the best way of communication in multi process environment? ex: getting log from different applications from multi servers?

1 Answers   HP,


How does swapping result in better memory management?

1 Answers  


Can you fix blue screen of death?

1 Answers  


Explain about paged segmentation and segment paging?

3 Answers  


Explain the Functionality of Operating System?

1 Answers   Wipro,


What are the advantages of multiprocessor system?

1 Answers  


What is the Translation Lookaside Buffer (TLB)?

1 Answers  


What is the difference between chkdsk r and f?

1 Answers  


What is long term scheduler in operating system (os)?

1 Answers  


What is Scheduling algorithm?

1 Answers   Ciena,


What is the resident set and working set of a process?

1 Answers  


Categories