What is the difference between a Thread and Process?
Answer / krishpuneet
A process is a collection of virtual memory space, code,
data, and system resources. A thread is code that is to be
serially executed within a process. A processor executes
threads, not processes, so each application has at least
one process, and a process always has at least one thread
of execution, known as the primary thread. A process can
have multiple threads in addition to the primary thread.
Prior to the introduction of multiple threads of execution,
applications were all designed to run on a single thread of
execution.
When a thread begins to execute, it continues until it is
killed or until it is interrupted by a thread with higher
priority (by a user action or the kernel’s thread
scheduler). Each thread can run separate sections of code,
or multiple threads can execute the same section of code.
Threads executing the same block of code maintain separate
stacks. Each thread in a process shares that process’s
global variables and resources.
Is This Answer Correct ? | 9 Yes | 0 No |
Explain the difference between debug.write and trace.write?
Hey I am using asp.net mvc architecture. I creating one dropdownlist using <select id="State" name="State"></select> this is dynamic list.Its displaying properly. But in time of Edit.If i load a page dropdownlist is not displaying the item which is stored in table.
What is Model-View-View Model?
What is the difference between an EXE and a DLL?
18 Answers Infosys, JK Associates, Persistent, TATA, Technosoft, Wipro,
Could u send me the answer for this question as soon as possible. Im using 'System.net.mail.mailmessage' namespace for sending a mail from my application. What should I mention in 'system.net.mail.mailmessage.to' property and What should I mention in 'system.net.mail.mailmessage.from' property.
Explain client-side scripting?
How do you access individual items of an Master Page
How do you change the session time-out value?
0 Answers TryTechnicals Pvt Ltd,
Explain the difference between globalization and localization techniques
What does the .webpart file do?
What are the different modes for the sessionstates in the web.config file?
Why session is necessary in web application?