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 |
What are banks in reference to ram?
What are your solution strategies for "Dining Philosophers Problem" ?
Can you tell what a device is by mac address?
What is external fragmentation?
How long does chkdsk take to run?
What is a boot-strap program?
Explain what is a semaphore?
What is a binary semaphore? What is its use?
7 Answers CDC, Maveric, Morgan Stanley,
What is mutual exclusion and multithreading in OS?
Can you move programs from c drive to d?
What is tcl timing?
What problems are faced during the implementation of a network-transparent system?