Interviews9 answers
what is the difference between process and Thread?
9 Answers
Thread is a part of process...
Sreekanth ReddyPosted Jun 16, 2015, 11:40 PM EDT
thread are the small(subpart) of a process.
when we run multiple threading of program then it is known as multiithreading process.
The typical difference is that threads (of the same process) run in a shared memory space, while processes run in separate memory spaces.
Rahul PrajapatPosted Jun 4, 2015, 5:58 AM EDT
The differences between threads and processes
· Threads will, by default, share memory, but processes by default do not share memory.
· A thread cannot exist by itself, a process must start a thread. A process can start multiple threads in other words “threads are not independent like processes”.
· Threads will share file descriptors, but among processes more file descriptors are not shared.
· Changes to the main thread (cancellation, priority change and so on) may affect the behavior of the other threads of the process; changes to the parent process do not affect the child processes.
· Threads will share file system context, but processes don't share file system context.
· Threads will share signal handling, but processes don't share signal handling.
to learn more about thread and processes please visit :
http://www.c-sharpcorner.com/UploadFile/819f33/threads-vs-processes
Sushil SinghPosted Apr 14, 2015, 3:40 AM EDT
thread are the small(subpart) of a process.
when we run multiple threading of program then it is known as multiithreading process
Pankaj Kumar ChoudharyPosted Mar 22, 2015, 5:00 PM EDT
http://www.allinterview.com/showanswers/258.html
Bhabani PrasadPosted May 24, 2014, 3:38 AM EDT
Both processes and threads are independent sequences of execution. The typical difference is that threads (of the same process) run in a shared memory space, while processes run in separate memory spaces.
I'm not sure what "hardware" vs "software" threads might be referring to. Threads are an operating environment feature, rather than a CPU feature (though the CPU typically has operations that make threads efficient).
Erlang uses the term "process" because it does not expose a shared-memory multiprogramming model. Calling them "threads" would imply that they have shared memory.
Munesh SharmaPosted Apr 12, 2014, 2:29 AM EDT
process is a program which gets memory allocated to it by operating system. It has a starting point which is start by main thread.
Thread is responsible for executing small part of your program. it can run in parallels with other threads within a process.
Thread can not exist without a process. It always exist within a process.
Pankaj VashishtaPosted Aug 9, 2013, 12:24 PM EDT
Process is a program in execution whereas thread is a separate path of execution in a program.
Pratiyush AnandPosted Jul 27, 2013, 11:43 PM EDT
inside a process thread can exist...
inside a thread cannot exist a process.
Sreekanth ReddyPosted Jul 9, 2013, 8:34 AM EDT






