---
title: "ThreadPool - Muhammad Rehan Saeed"
description: "Blog posts authored by Muhammad Rehan Saeed about ThreadPool."
canonical_url: "https://rehansaeed.com/tag/thread-pool/"
meta:
  author: "Muhammad Rehan Saeed"
  "og:description": "Blog posts authored by Muhammad Rehan Saeed about ThreadPool."
  "og:image": "https://rehansaeed.com/_og/s/o_c0d96cc990273945.png"
  "og:image:alt": "# ThreadPool - Muhammad Rehan Saeed"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": ThreadPool
  "twitter:image": "https://rehansaeed.com/_og/s/o_c0d96cc990273945.png"
  "twitter:image:alt": "# ThreadPool - Muhammad Rehan Saeed"
---

> Index of every page on this site: [llms.txt](https://rehansaeed.com/llms.txt)

# [# ThreadPool](https://rehansaeed.com/tag/thread-pool/)

## [ConfigureAwait in Task Parallel Library (TPL)](https://rehansaeed.com/configureawait-task-parallel-library/)

The importance of using ConfigureAwait when using the Task Parallel Library (TPL) to improve performance and reduce context switching.

Posted 7 February 2014 - **2 min read**

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://rehansaeed.com/#website","@type":"WebSite","description":"Software Developer at Microsoft, YouTuber, Open Source Contributor and Blogger","inLanguage":"en-GB","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/","author":{"@id":"https://rehansaeed.com/#identity"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://rehansaeed.com/?search={search_term_string}"},"query-input":"required name=search_term_string"}],"publisher":{"@id":"https://rehansaeed.com/#publisher"}},{"@id":"https://rehansaeed.com/tag/thread-pool/#webpage","description":"Blog posts authored by Muhammad Rehan Saeed about ThreadPool.","name":"ThreadPool","url":"https://rehansaeed.com/tag/thread-pool/","@type":["WebPage","CollectionPage"],"breadcrumb":{"@id":"https://rehansaeed.com/tag/thread-pool/#breadcrumb"},"isPartOf":{"@id":"https://rehansaeed.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://rehansaeed.com/tag/thread-pool/"]}]},{"@id":"https://rehansaeed.com/#identity","@type":"Person","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/about/","image":{"@id":"https://rehansaeed.com/#/schema/image/1"},"sameAs":["https://github.com/RehanSaeed","https://www.linkedin.com/in/muhammad-rehan-saeed","https://stackoverflow.com/users/1212017/muhammad-rehan-saeed","https://www.youtube.com/c/MuhammadRehanSaeed","https://www.twitch.tv/rehansaeeduk"]},{"@id":"https://rehansaeed.com/#publisher","@type":"Organization","logo":"https://rehansaeed.com/images/schema/Publisher-600x60.png","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com"},{"@id":"https://rehansaeed.com/tag/thread-pool/#/schema/item-list/1","@type":"ItemList","itemListElement":[{"@type":"ListItem","name":"ConfigureAwait in Task Parallel Library (TPL)","url":"https://rehansaeed.com/configureawait-task-parallel-library/","position":1}]},{"@id":"https://rehansaeed.com/tag/thread-pool/#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Blog","item":"https://rehansaeed.com/","position":1},{"@type":"ListItem","name":"ThreadPool","item":"https://rehansaeed.com/tag/thread-pool/","position":2}]},{"@id":"https://rehansaeed.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png","inLanguage":"en-GB","url":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png"}]}
```

## Sitemap

See the full [sitemap](https://rehansaeed.com/sitemap.md) for all pages.
