cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

what is the diff between thread,task and process clearly

Former Member
0 Likes
1,161

hi, i have a doubt about difference between task , thread and process. please clarify my doubt with clear information, i am waiting for u r reply

View Entire Topic
moorthy
Active Contributor
0 Likes

Hi,

Threads:

A thread is a single sequential flow of control within a program. It can not run its own. It is not a program.

Threads enhance performance and functionality in various programming languages .

Tasks: Are nothin gbut "To do " Items. So we can execute different tasks with the use of Threads.

Process:

Process is nothing but unit of work.

Threads share memory inside a process, vice-versa is not true.

Linux developers are using the word "Task" not thread nor Process.

So I think , there is not much difference between Process and the task. But there is a difference between process and the thread.

For more info about threads , go thru following link.

http://www.faqs.org/faqs/threads-faq/part1/

Hope this helps,

Regards,

Moorthy