If background completes its processing will it wait for
foreground threads?
Answers were Sorted based on User's Feedback
Answer / prabhu
A managed thread is either a background thread or a
foreground thread. Background threads are identical to
foreground threads with one exception: a background thread
does not keep the managed execution environment running.
Once all foreground threads have been stopped in a managed
process (where the .exe file is a managed assembly), the
system stops all background threads and shuts down
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ramsubbu
In .net Threading concept both the background thread and
the foreground thread means the same with minor difference
between the two, in a foreground thread you can control and
make sure that the thread has completed its execution,
whereas we can not control the execution of background
thread, Background threads do not prevent the process from
being terminated.
In general when all the foreground threads are stopped the
CLR stops the process by terminating the background threads.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the benefits of .net framework?
What is IL
what is entity framework advantage?
What is the difference between tempdata and viewbag?
please tell me the best book of asp.net in the markit. which explain in simple and detail.
What is orm entity framework?
What is entity sql? : Entity framework
explain lazy loading, eager loading, and explicit loading?
List out few different return types of a controller action method?
Speaking of Boolean data types, what's different between C# and C/C++ ?
mention in what all scenarios entity framework can be applicable?
What is storage model? : Entity framework