English, asked by msivasaikrishna123, 5 months ago

what is the difference between thread and process ​

Answers

Answered by Anonymous
2

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

Answered by ItzMagicalMystery
1

\bigstar\bold{Question:\:Difference\:between\:thread\:and\:process\:.}

\bold{Answer}

PROCESS

<font color=cyan>

A process, in the simplest terms, is an executing program. One or more threads run in the context of the process.

<font color=black>

____________________________________________________________

THREAD

<font color=lime>

A thread is the basic unit to which the operating system allocates processor time. A thread can execute any part of the process code, including parts currently being executed by another thread.

Similar questions