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 |
How do you a replicate a set of controls across a number of ASP Pages
How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?
Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version
what is the challenging situation you faced in your career?
3 Answers Calsoft, HP, Satyam, Wipro,
what exception is thrown when you do a response.redirect
How can you execute stored procedure from windows application?
what are httphandlers and httpmodules.and their differences.
What is the difference between equals() and == in c#?
Why do we use asp.net?
What is redirecting behavior?
Explain file-based dependency and key-based dependency.
On what object is the transaction in ADO.NET focused on? a) The command object b) The DataSet object c) The Connection object d) The DataAdapter object
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)