Results 1 to 3 of 3

Thread: Difference beetween thread and process?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    15

    Difference beetween thread and process?

    Hi!

    Can you tell me what's the difference beetween a thread ID an a process ID because I thought thread and process is the same?

    Wuerfel

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    A thread is the space in which a process runs. The thread Id is the Id for that space, and the process Id is the Id of the individual process running in the thread.

  3. #3
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    In simplistic terms, a process is a single executing program.
    In languages that allow multithreading these processes may have more than one Thread running at any given time.

    The full hierarchy (for NT systems ) is:

    Window Station -< Desktop -< Process -< Thread -< Window

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width