CAN anyone please explain the difference between process and thread with example . with reference to how it is viewed in task manager.

Keeping it simple..
Process is a program which is currently under execution whereas Thread is a part of the program.A program or process can have many number of threads.
Threads are intended for making the code independent.

Process is made up of many threads.Suppose you are writing something in Microsoft Word.This will create one process WINWORD.EXE.When you type in the document there are various threads of the process which run simultaneously like thread for "spelling correction","grammatical errors" etc.

OP,said
with reference to how it is viewed in task manager

OP,said
with reference to how it is viewed in task manager

Can you show me the thread in task manager?

Can you show me the thread in task manager?

no ,its the OP that asked the question ,not me,i was just bring it to your attention

yes thread for process can b viewed in window task manager . click the process tab. if it doesn't show . then click view tab->select column->tick thread. it can b viewed.

oops,i was going to device manage .now i see threads

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.