1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

process/threads/tasks

Discussion in 'Unix' started by priyapai, Apr 3, 2006.

  1. priyapai

    priyapai New Member

    Joined:
    Mar 24, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    Hi

    could ne1 please explain me a PROCESS, THREAD, TASK in simple words.

    n what is the difference between the 3 of them.



    regards
    priya
     
  2. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
    Process

    Process is a naturally occurring or designed sequence of operations or events, possibly taking up time, space, expertise or other resource, which produces some outcome. A process may be identified by the changes it creates in the properties of one or more objects under its influence

    Thread

    Threads are similar to processes, in that both represent a single sequence of instructions executed in parallel with other sequences, either by time slicing or multiprocessing. Threads are a way for a program to split itself into two or more simultaneously running tasks

    Task

    A set of program instructions is loaded in memory

    Source wikipedia
     

Share This Page