Describe the difference between a Thread and a Process?
Answer Posted / nalin jayasuriya
A thread consists of a series of computer instructions...
and usually corresponds to the CPUs execution of a series
of instructions. Threads use the registers and the 'stack'
as its memory (state).
A process contains at least one thread and private memory.
A process is the operating system loads when one executes a
program. When a process contains multiple threads, there is
usually thread synchronization needed.
In Windows programming, the primary thread is what creates
the user-interface controls and it's that thread that is
allowed exclusive privileges to update the user-interface.
In Windows programming, a process receives and sends
messages to the operating system.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
class type to basic type conversion
What is the main feature of oop?
What does it mean when someone says I oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is difference between oop and pop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Explain the advantages of inheritance.
What is destructor oops?
What is encapsulation and abstraction? How are they implemented in C++?
What is the use of oops?
What are the two different types of polymorphism?
what's the basic's in dot net
write a program that takes input in digits and display the result in words from 1 to 1000
What is encapsulation with real life example?
What causes polymorphism?