Task Parallel Library TPL

suggest change

Versions

The Task Parallel Library ships in .NET Framework 4 and later (through 4.6.2 here). A separate NuGet package backports it to 3.5.

Remarks

Purpose And Use Cases

The purpose of the Task Parallel Library is to simplify the process of writing and maintaining multithreaded and parallel code.

Some Use Cases*:

*Decide case by case. If a loop has only a few iterations, or each iteration does little work, the overhead of parallelism can outweigh the benefit.

TPL on .NET Framework 3.5

The TPL ships in .NET Framework 4. A NuGet backport, also called the Task Parallel Library, targets .NET Framework 3.5.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents