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 is DRAM? In which form does it store data?
main() { charstr1="prakash"; charstr2="raju"; Str1=str2; printf("\n%d",str1); }
What are a virtual machines and site their advantages?
Describe different job scheduling in operating systems?
In the context of memory management, what are placement and replacement algorithms?
What is SMP?
What is hard disk and what is its purpose?
Can you move your program files to another drive?
What is the unified memory architecture? Explain.
What is dedicated processor assignment in operating system (os)?
Define demand paging?
What is the basic function of paging?