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
Printable View
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
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.
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