sani jangir
what is the difference between process and Thread?
By sani jangir in OOP/OOD on May 08 2013
  • Rahul Prajapat
    Jun, 2015 4

    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.

    • 2
  • Sushil Singh
    Apr, 2015 14

    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

    • 2
  • Sreekanth Reddy
    Jun, 2015 17

    Thread is a part of process...

    • 1
  • Pankaj  Kumar Choudhary
    Mar, 2015 22

    thread are the small(subpart) of a process. when we run multiple threading of program then it is known as multiithreading process

    • 1
  • Bhabani Prasad
    May, 2014 24

    http://www.allinterview.com/showanswers/258.html

    • 1
  • Munesh Sharma
    Apr, 2014 12

    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.

    • 1
  • Pankaj Vashishta
    Aug, 2013 9

    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.

    • 1
  • Pratiyush Anand
    Jul, 2013 28

    Process is a program in execution whereas thread is a separate path of execution in a program.

    • 1
  • Sreekanth Reddy
    Jul, 2013 9

    inside a process thread can exist... inside a thread cannot exist a process.

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS