Difference between a thread and a process

Started by Patrecia, 11-13-2013, 06:59:28

Previous topic - Next topic

PatreciaTopic starter



ElevanDesis

Program in execution is called as Process, Process is an active entity, threads can be part of any program schedule a program can be further divided into several threads for ease of execution.
newbielink:http://www.pindominator.com/ [nonactive]
  •  


diveenawimble

What is the technical difference between a process and a thread? I get the feeling a word like 'process' is over used and there is also hardware and software threads.
newbielink:http://www.discountskitubesandgear.com.au/ [nonactive]
  •  

owen100

Programs may contain both threads and processes. A process may contain one or more thread, but a line cannot contain a process.

Threads and processes are identical in that they both perform a sequence of guidelines. Both may be started by a program or the os. However, processes generally run for a long period (often until a program is closed), while threads may run for only a brief time (often less than a second). Processes also need their own storage, while threads simply use the available storage momentarily.

In conclusion, threads may be regarded light and portable processes, since they contain easy places of guidelines and can be run within a bigger process. Computer systems can run several threads and processes simultaneously.

drafting

#4
Projects may hold both strings and courses of action. A methodology may hold one or more string, yet a line can't hold a procedure.
Program in execution is called as Process, Process is a dynamic substance, strings might be some piece of any system plan a project could be further isolated into a few strings for simplicity of execution.
  •  


keith.bowman

Process is nothing but an executing instance of an application. On the other hand, thread is nothing but path of an execution within the process which contains multiple threads.

For more information visit http://www.programmerinterview.com/index.php/operating-systems/thread-vs-process/
Asuem Infotech [nofollow]
  •  

heris charles

Another simple difference is that threads within the same process share the same address space, whereas different processes do not share.



MarcoLeitner

1.A process is a program with in execution where as thread is a path  of execution with in the process.
2. Process are used to execute heavy weight program such as running different applications where as  threads are used to execute light weight program  such as  auto saving a program with in execution.
3.Each process need a separate address space with in the cpu where as Threads may share address space  with other threads in the same process.


adlerdale

Both processes and threads are the process of execution. The main difference between thread and a process is that the threads (of the same process) run in a shared memory space, while processes run in separate memory spaces.
http://infrawebsoft.com/blog/
  •