标签:
Task[] tasks = new Task[] { Task.Factory.StartNew(DoLeft), Task.Factory.StartNew(DoRight), Task.Factory.StartNew(DoCenter) }; Task[] allTasks = tasks; Task.WaitAll Method (tasks, TimeSpan) Task.WaitAll(t1, t2); Task.WaitAll Method (Task[], TimeSpan)
TaskFactory.StartNew Method (Action<Object>, Object)
https://msdn.microsoft.com/en-us/library/ff963553.aspx
https://msdn.microsoft.com/en-us/library/dd321562(v=vs.110).aspx
标签:
原文地址:http://www.cnblogs.com/WCFGROUP/p/5799625.html