Item 36: Understand How to Use PLINQ for I/O Bound Operations(Effective C#)
转载
The Parallel Task Library provides a series of methods that enable working with I/O bound operations as well as CPU bound partitions of work. Using the Task class, you can support a variety of asynchronous patterns that work with I/O bound operations, or those that are a mixture of I/O and CPU bound operations. Parallel tasks are still not easy, but the Parallel Task Library and PLINQ provide better language level support for asynchronous programming than previous libraries had. It will continue to be more important as more of our programs must access data on different machines and more threads are waiting for responses from remote machines.
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
How do I use Hashtable in C#c# sed