What is the difference between a Thread and a Process?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3331
    Ankur
    Member

    What is the difference between a Thread and a Process?

    #3335
    Pavan
    Member

    Process: Is a collection of code,resource or virtual memory space.Process is a program in execution.Thread is subset of process.Each process have at-least have one Thread for execution of Process.Thread have separate path of execution.
    A process can have multiple threads. Thread is a Execution instruction. Threads cannot live without a process.
    there is two types thread 1: Foreground Thread 2: background Thread.
    I will post about thread type and thread containing methods in coming days on Author Code code.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.