Task Parallelism
In the previous chapter, we introduced the concept of parallel programming. In this chapter, we will move on to discussing TPL and task parallelism.
One of the major goals of .NET as a programming framework is to make a developer's life easier by wrapping up all the commonly required tasks as APIs. As we have already seen, threads have existed since the earliest versions of .NET, but they were initially very complex and were associated with a lot of overhead. Microsoft has introduced a lot of new parallel primitives that make it easier to write, debug, and maintain parallel programs from scratch, without having to deal with the complexities that are involved with legacy threading.
The following topics will be covered in this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access