Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3331804
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:37:18+00:00 2026-05-17T23:37:18+00:00

This is in reference to an article ‘ Simplify Asynchronous programming with Tasks ‘

  • 0

This is in reference to an article ‘Simplify Asynchronous programming with Tasks‘ published in MSDN magazine September 2010.

In this article the author put forth the problem of downloading a file using WebClient from a web page using HTTP.

The author explains that one way to solve the problem of a long running process which freezes the UI thread, is by creating a thread from thread pool and making it run a separate thread. The author explains that this is not a good solution because as more processes run, the thread pool ends up creating more threads which affects performance.

The author goes on to explain that another strategy to solve the problem is to create an event-based application. WebClient does implement asynchronous operations via the event-based pattern. I am with the author so far.

He then explains ‘This implementation resolves problem one of the inefficient thread based solution: unnecessary blocking of thread. The call to async returns immediately and does not block either the UI thread or a thread-pool thread. The process executes in the background‘.

What exactly is meant by the word ‘background‘ here? How is it different from thread?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:37:19+00:00Added an answer on May 17, 2026 at 11:37 pm

    “Background” in this context is a Thread specifically created to handle the blocking task. It isn’t any different from a ThreadPool Thread except for the fact that it isn’t part of the pool.

    Use of the ThreadPool is avoided because it can only allocate a limited number of threads (MSDN defines this as 250 worker threads per processor, and 1000 I/O completion threads). This limitation is why it is acceptable to make a few blocking calls on ThreadPool threads, but if you make a lot of blocking calls from the pool it will reach a point where the job queue for the ThreadPool starts backing up due to the lack of available workers and performance becomes degraded. You can also increase the number of available Threads in the ThreadPool, but this comes with it’s own performance penalty, as each Thread has it’s own stack space allocated from memory.


    For those reading, the article Nair mentions is located here: http://msdn.microsoft.com/en-us/magazine/ff959203.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was reading this excellent article which gives an introduction to Asynchronous programming here
Given this MSDN article, we learn that the Common Type System in .Net has
following this MSDN article a CHOICE Element in a field declaration for SharePoint should
In this MSDN article (Chapter 6 — Improving ASP.NET Performance), it says the following:
This post reference to the One Definition Rule. Wikipedia is pretty bad on explaining
This is in reference to my other question Auto Clearing Textbox . If I
This is in reference to a question I asked earlier. Aside from viewing the
This is in reference to the question previously asked The problem here is, each
With the reference of this answer , what is Theta (tight bound)? Omega is
I'm writing this question with reference to this one which I wrote yesterday. After

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.