Process is a program in execution whereas thread is a separate path of execution in a program.
Pardeep Dureja
Dec 2nd, 2005
Process & Thread share almost all datastructure except (thread has it's own register & scack area )
Kotresh
Dec 4th, 2005
Process is a program under execution,but thread is a light weight process which has seperate way of execution.Threads are part of process.Single process can contain number of threads at a time.
A process is a collection of virtual memory space, code, data, and system resources. A thread is code that is to be serially executed within a process. A processor executes threads, not processes, so each application has at least one process, and a process always has at least one thread of execution, known as the primary thread. A process can have multiple threads in addition to the primary thread
Thread ? is stream of executable code within process. They are light weight process.
All thread with in a process share process instruction,code & data segment,open file descriptor,signal handler,userID and GroupID.
Thread has its own set of register including program counter,stack pointer
vishwa
Sep 13th, 2006
Process is nothing but a program execution, each pogram having atleast a sequence, where thread is nothing but a sequence of program execution.
nani
Oct 13th, 2006
Program in execution is called Process Thread is a flow of control in a program
What is the difference between a 'thread' and a 'process'?
Profile Answers by Beena Questions by Beena
Questions by Beena answers by Beena