Computer Science, asked by MisSDivTan, 8 days ago

What is s the primary difference between process and thread?​

Answers

Answered by Ᏸυէէєɾϝɭყ
4

Answer:

  • Process is called as a program which is in execution.

  • Thread is a segment of a process, so; a process can have more than one thread.

Answered by ItzRakhi20
3

\large{\underline{\underline{\pmb{\sf{Answer:}}}}}

  • A process is a program under execution i.e an active program.
  • A thread is a lightweight process that can be managed independently by a scheduler.

\\

  • Processes require more time for context switching as they are more heavy.
  • Threads require less time for context switching as they are lighter than processes.

\\

  • Processes are totally independent and don’t share memory.
  • Thread may share some memory with its peer threads.

\\

  • Communication between processes requires more time than between threads.
  • Communication between threads requires less time than between processes .
Similar questions