文件名称:TasksDotnet
-
所属分类:
- 标签属性:
- 上传时间:2016-07-26
-
文件大小:13.09kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Tasks and Task Parallel Library (TPL) : Multi-threading made easy-Introduction
It had been really long since Tasks got released as part of .Net framework class library (FCL) as a wrapper over thread-pool threads. Now Microsoft strongly recommends the usage of Tasks for almost all multithreaded background running work except in a very few special cases. So it makes perfect sense to understand as to why and how tasks are better in any way than using thread class directly. What are the advantages or new features multi-threading point of view which we can leverage while using tasks. So a point wise comparison of threads and tasks is required to be proficient in using both of them.
A Note for the Attached Code
You need the following software as prerequisites to run the attached code on your computer:
Visual Studio 2012 or above
I expect the reader to be well aware of following to be able to sail through this article comfortably:
Basics of C# langauge
Basics of creating and running a Windows forms application using .Net framework
Basic know
It had been really long since Tasks got released as part of .Net framework class library (FCL) as a wrapper over thread-pool threads. Now Microsoft strongly recommends the usage of Tasks for almost all multithreaded background running work except in a very few special cases. So it makes perfect sense to understand as to why and how tasks are better in any way than using thread class directly. What are the advantages or new features multi-threading point of view which we can leverage while using tasks. So a point wise comparison of threads and tasks is required to be proficient in using both of them.
A Note for the Attached Code
You need the following software as prerequisites to run the attached code on your computer:
Visual Studio 2012 or above
I expect the reader to be well aware of following to be able to sail through this article comfortably:
Basics of C# langauge
Basics of creating and running a Windows forms application using .Net framework
Basic know
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TasksInDotNet/App.config
TasksInDotNet/MainForm.cs
TasksInDotNet/MainForm.Designer.cs
TasksInDotNet/MainForm.resx
TasksInDotNet/Program.cs
TasksInDotNet/Properties/
TasksInDotNet/Properties/AssemblyInfo.cs
TasksInDotNet/Properties/Resources.Designer.cs
TasksInDotNet/Properties/Resources.resx
TasksInDotNet/Properties/Settings.Designer.cs
TasksInDotNet/Properties/Settings.settings
TasksInDotNet/TasksInDotNet.csproj
turtle_(1).txt
TasksInDotNet/MainForm.cs
TasksInDotNet/MainForm.Designer.cs
TasksInDotNet/MainForm.resx
TasksInDotNet/Program.cs
TasksInDotNet/Properties/
TasksInDotNet/Properties/AssemblyInfo.cs
TasksInDotNet/Properties/Resources.Designer.cs
TasksInDotNet/Properties/Resources.resx
TasksInDotNet/Properties/Settings.Designer.cs
TasksInDotNet/Properties/Settings.settings
TasksInDotNet/TasksInDotNet.csproj
turtle_(1).txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.