Explain the difference between thread and process in an operating system?
|1.||Runs in a shared memory space and uses shared system resources.||Each process runs in a separate memory space and provides the required resources|
|2.||Simple, the small task can be categorized as a thread.||A complex task that has at least one thread of execution. There can be multiple concurrent threads in a process.|
|3.||Context switching between threads is easier||Context switching is more time-consuming|
Suggest An Answer
No suggestions avaliable!