05 2021 档案

摘要:概况 启动不带参数线程的方法 启动带参数线程的方法 线程更新UI 线程锁同步共享数据 启动不带参数线程的方法 第一种快速启动 1 2 3 4 Thread t = new Thread(()=>{ //下面写一些在线程中处理的方法 }); t.Start(); 第二种启动方法 1 2 3 4 5 6 阅读全文
posted @ 2021-05-15 18:29 jevan 阅读(233) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using abc = Iner; namespace Test { class Program 阅读全文
posted @ 2021-05-15 16:47 jevan 阅读(67) 评论(0) 推荐(0) 编辑
摘要:线程与异步的使用方法 使用场景 方法 AAA, BBB, CCC 在主线程不阻塞的情况下运行不同的三个方法 方法CCC需要在方法AAA完成后执行 使用线程完成 因为方法 CCC 要等待方法 AAA 完成,所以需要一个线程同步事件。 using System; using System.Threadi 阅读全文
posted @ 2021-05-15 16:15 jevan 阅读(283) 评论(0) 推荐(0) 编辑
摘要:PetaPoco.Core.ttinclude <#@ template language="C#" hostspecific="True" #> <#@ output extension=".cs" #> <#@ assembly name="EnvDTE" #> <#@ assembly nam 阅读全文
posted @ 2021-05-13 21:53 jevan 阅读(363) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示