TPL (Task Parallel Library) is a set of classes which helps developers to add parallelism and concurrency to the code. It leverages all the available processes to use efficiently by the code.
Using TPL, you can optimize the performance of the code by dividing the workload. In the developer jargon, it is a way to utilize multithreading. Using TPL, multithreading becomes easier. Otherwise you need to take care of resource utilization and other parameters in order to achieve multithreading by yourself.
No comments:
Post a Comment