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 |
There is some data related to temperatures of different cities. One side(thread), will be updating the values and multiple clients will be reading the values. how do you achieve synchronization?
Why is it that a single, all – encompassing metric cannot be developed for programme complexity or programme quality?
What are counting semaphores?
What is the use of Synchronized keyword?
What do you know about interrupt?
In general what is paging? and segmaentation?
How do I find the location of an excel file?
Why paging is used in os?
Explain about local and global page replacements?
What grep means?
What are the deadlock avoidance schemes?
What is sock_seqpacket?