<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: what is the diff between thread,task and process  clearly in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189880#M498601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Process&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In simple terms, a process is a sequnce of steps under execution.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Each process provides the resources needed to execute a program.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;A process has a virtual address space, executable code, open handles to system objects, a security context, a unique process identifier, environment variables, a base priority, minimum and maximum working set sizes, and at least one thread of execution.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Each process is started with a single thread, often called the primary thread, but can create additional threads from any of its threads.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Thread&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;A thread is a program's path of execution&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In other words, a thread is the entity within a process that can be scheduled for execution.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All threads of a process share its virtual address space and system resources.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In addition, each thread maintains exception handlers, a scheduling priority, thread local storage, a unique thread identifier, and a set of structures the system will use to save the thread context until it is scheduled. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on threads, refer this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://java.sun.com/docs/books/tutorial/essential/threads/definition.html" target="test_blank"&gt;http://java.sun.com/docs/books/tutorial/essential/threads/definition.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Mar 2006 06:20:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-02T06:20:16Z</dc:date>
    <item>
      <title>what is the diff between thread,task and process  clearly</title>
      <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaq-p/1189876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 14:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaq-p/1189876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T14:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: what is the diff between thread,task and process  clearly</title>
      <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189877#M498598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Threads:&lt;/P&gt;&lt;P&gt;A thread is a single sequential flow of control within a program. It can not run its own. It is not a program.&lt;/P&gt;&lt;P&gt;Threads enhance performance and functionality in various programming languages .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tasks: Are nothin gbut "To do " Items. So we can execute different tasks with the use of Threads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process:&lt;/P&gt;&lt;P&gt;Process is nothing but unit of work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Threads share memory inside a process, vice-versa is not true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux developers are using the word "Task" not thread nor Process.&lt;/P&gt;&lt;P&gt;So I think , there is not much difference between Process and the task. But there is a difference between process and the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info about threads , go thru following link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.faqs.org/faqs/threads-faq/part1/" target="test_blank"&gt;http://www.faqs.org/faqs/threads-faq/part1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Moorthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 21:11:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189877#M498598</guid>
      <dc:creator>moorthy</dc:creator>
      <dc:date>2006-02-28T21:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: what is the diff between thread,task and process  clearly</title>
      <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189878#M498599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guruvulu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;Threads&amp;lt;/b&amp;gt; enhance performance and functionality by allowing a program to efficiently perform multiple &amp;lt;b&amp;gt;tasks&amp;lt;/b&amp;gt; simultaneously. Task means any job that has to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;common memory&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;threads&amp;lt;/b&amp;gt; naturally have shared data regions while it has to be specially created and initialized for &amp;lt;b&amp;gt;tasks&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &amp;lt;b&amp;gt;Process&amp;lt;/b&amp;gt; is some job or task which is running in background.A process can have many threads.To perform a task faster we break the process in threads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creation of new &amp;lt;b&amp;gt;process&amp;lt;/b&amp;gt; requires new resources and Address space whereas the &amp;lt;b&amp;gt;thread&amp;lt;/b&amp;gt; can be created in the same address space of the process which not only saves space and resources but are also easy to create and delete,and many threads can exist in a process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Pooja S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 09:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189878#M498599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-01T09:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: what is the diff between thread,task and process  clearly</title>
      <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189879#M498600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Threads uses the same address space ...means that the parent processs have a processID(in unix ) and if same application is open again a child is created i.e thread which have the same processid as that of parent but its own data ......so if the parent application is closed all the threads can be affected.....like in windows if u open many word document and close the first opened window all the others window may close because its a parent window.....while in proccess based system each application have there own address space and processid so each process data and state is independent of each other .....like in unix system......this techology have both pros and cons....&lt;/P&gt;&lt;P&gt;i thread based technology.......&lt;/P&gt;&lt;P&gt;pros...fast as no need create a address space so memory requirement is less&lt;/P&gt;&lt;P&gt;cons...possible of hang of system because ..one application can affect the state of second....like in windows machines,......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process based technology.....&lt;/P&gt;&lt;P&gt;pros....safer as process are indpendent of each other ...can be used for large processing of data ...like in server.......linux,unix&lt;/P&gt;&lt;P&gt;cons....memory requirement is more as address space is allocated for each process.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and task is the JOB to be done......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 11:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189879#M498600</guid>
      <dc:creator>Yashpal</dc:creator>
      <dc:date>2006-03-01T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: what is the diff between thread,task and process  clearly</title>
      <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189880#M498601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Process&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In simple terms, a process is a sequnce of steps under execution.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Each process provides the resources needed to execute a program.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;A process has a virtual address space, executable code, open handles to system objects, a security context, a unique process identifier, environment variables, a base priority, minimum and maximum working set sizes, and at least one thread of execution.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Each process is started with a single thread, often called the primary thread, but can create additional threads from any of its threads.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Thread&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;A thread is a program's path of execution&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In other words, a thread is the entity within a process that can be scheduled for execution.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All threads of a process share its virtual address space and system resources.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In addition, each thread maintains exception handlers, a scheduling priority, thread local storage, a unique thread identifier, and a set of structures the system will use to save the thread context until it is scheduled. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on threads, refer this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://java.sun.com/docs/books/tutorial/essential/threads/definition.html" target="test_blank"&gt;http://java.sun.com/docs/books/tutorial/essential/threads/definition.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 06:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189880#M498601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T06:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: what is the diff between thread,task and process  clearly</title>
      <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189881#M498602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thread in Java-&amp;gt;&lt;/P&gt;&lt;P&gt;A thread is a thread of execution in a program. The Java Virtual Machine allows an application to have multiple threads of execution running concurrently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task in ABAP-&amp;gt;With a task, you generally process an actual object of an object class, for example you create a customer master record. A task consists of a set of task functions, such as "Save", "Delete" or "Select". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process in ABAP -&amp;gt;It is a set of steps which are done to perform a specified function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mrutyunjaya Tripathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 11:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189881#M498602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-23T11:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: what is the diff between thread,task and process  clearly</title>
      <link>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189882#M498603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guruvulu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Kindly close the thread if your doubt has been cleared. Else do revert for further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 09:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/what-is-the-diff-between-thread-task-and-process-clearly/qaa-p/1189882#M498603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T09:58:15Z</dc:date>
    </item>
  </channel>
</rss>

