What isthe difference between a 'thread' and a 'process'?
Answers were Sorted based on User's Feedback
Answer / kchik
Main difference is:
Threads share the resources and address space of the process
spawning the threads.
Processes run in independent address spaces and have their
own resources between the parent and child processes.
Other differences:
Threads can communicate between threads directly.
Processes require user mode switches and full context switch.
| Is This Answer Correct ? | 5 Yes | 4 No |
Answer / m.suganya
threads are more efficient when compared to process. threads can finish a process fastly compared to the time taken by the process as a thread can create two or more threads and these threads cn share their resources among them..
hence the most important difference between thread and process is their efficiency and their ability to share their resources......
| Is This Answer Correct ? | 1 Yes | 0 No |
How does ecc works?
Can I delete the program files x86?
What factors determine whether a detection-algorithm must be utilized in a deadlock avoidance system?
How to create a worker thread?
Describe Banker’s algorithm
A pair of redundant systems are operating, how would you ensure that when one of them goes down, the other one will take over its operation?
What are the operating system types?
What do you know about a pipe? When is it used?
Explain an idle thread?
Is a directory a regular file?
Explain booting the system in operating system.
Explain cycle stealing?