If background completes its processing will it wait for
foreground threads?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to answer for project questions..?

2234


What is entitycontainer? : Entity framework

583


Is http stateful or stateless?

551


How to Redirect Tracing to a File

593


Can I remove .net framework?

549






Explain the new features 3.5 framework against with the tool?

503


What is the difference between ViewData, ViewBag and TempData?

641


How do you specify comments using razor syntax?

604


Which filter executes first in an asp.net mvc application?

555


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

555


Explain what is asp.net mvc?

656


Explain tempdata in mvc?

568


Explain the new features added in version 4 of mvc (mvc4)?

543


What is definingquery in entity framework? : Entity framework

554


Explain linq to entities? : Entity framework

550