线程
MaximilianLiu
A young man from China who want to make something great to world people in the future,now I call myself developer,programmer,homeguy,and someone unknow,LOL!
展开
-
线程_守护线程/背景线程_线程传参_线程加锁
守护线程/背景线程using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace 线程{ class Program {转载 2017-09-12 10:19:14 · 342 阅读 · 0 评论 -
线程_死锁_解锁
线程死锁using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace 线程{ class Program { public转载 2017-09-12 10:48:34 · 295 阅读 · 0 评论 -
线程开启方式_异步委托
线程的初步学习using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace 线程{ class Program { //一转载 2017-09-11 22:44:17 · 262 阅读 · 0 评论 -
检测委托线程的结束_通过等待句柄和回调函数
线程的初步学习检测线程的结束方法 //检测线程结束 bool isEnd = ar.AsyncWaitHandle.WaitOne(1000); //1000毫秒表示超时时间,如果等待了1000毫秒 //如果在1000毫秒以内结束了,那么这个方法会返回true //如果在1000毫秒以内没有结束转载 2017-09-12 20:08:49 · 300 阅读 · 0 评论