answersLogoWhite

0

Threads exist within the same process; they can share memory and take less time to perform a "context switch;" they are part of the same program running in parallel processing units. Threads each have their own dedicated memory, and a shared memory area. Processes are entirely partitioned units of executing code. They cannot directly share memory with each other without assistance from the operating system, and are protected from each other by the operating system (in most modern operating systems, that is). They require more time to perform a context switch, as the entire task must be swapped out of the CPU instead of just the thread stack.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the difference between a computer process and thread in microprocessor?

A thread is a sub process in other words one process can contain multiple threads.


What is the difference between a process and thread?

The same metaphor: the difference of a person (thread) and a family (process) A process has at least 1 thread and may have many threads, while 1 thread must live within a process


Is thread as used by Intel in their marketing for Hyper-Threading Technology same as the thread that is talked about when discussing the difference between a process and a thread?

No.


What is the difference between process and thread?

Basically no difference, except that process can use many threads; thread can use only one.


Can a thread be called a process or vise versa?

No. A thread is a part of a process, but a process can not be part of a thread. Processes are always "at the top."


Can a thread create a process?

No, a thread can't create aprocess, because the environment of the thread is a part of a process which created this thread.


What is a thread in computers?

Execution context within a process is called Thread. Threads run, process does not. Every process starts with one thread.


What is the direction of the English bottom bracket thread in relation to the frame of a bicycle?

The English bottom bracket thread on a bicycle is typically right-hand threaded in relation to the frame.


What is the difference between thread based and process based?

Process based is much time as comparison as thread based. as well as Thread based application is cost effective. Process based application has its own address space so it take more cost. Alok Gupta. India.


If a process terminates will its thread also terminate?

yes, because if process is terminated then its related thread has no work. After completion of process the kernel generates a thread that will cancelled the thread in order to save the time and memory of CPU.


What is a thread in c?

A thread is basically a lightweight process.


What is dfference between synchronization and asynchronization in java with example?

synchornisation is the process where more than one thread can be accessed by accesssing the shared object of the class.By syncornisation we can have the communication between threads.if one thread works then another thread automatically stops