What is the difference between a Thread and a Process?

Home Forums General Programming What is the difference between a Thread and a Process?

This topic contains 0 replies, has 2 voices, and was last updated by  Pavan 6 years, 11 months ago.

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

    Ankur
    Moderator

    What is the difference between a Thread and a Process?

    #3335

    Pavan
    Spectator

    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.