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
When not to use object oriented programming?
What is a class in oop?
What is an advantage of polymorphism?
What is overloading and its types?
What is a null tree?
What is object-oriented programming? Webopedia definition
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What is polymorphism and its types?
What is abstraction encapsulation?
What are main features of oop?
What is abstraction in oops?
Can abstract class have normal methods?
Is data hiding and abstraction same?
officer say me - i am offered to a smoking , then what can you say
Which is better struts or spring?