12 2023 档案

摘要:普通并发 Parallel.For(1, 500, new ParallelOptions() { MaxDegreeOfParallelism = 2 }, i => { Console.WriteLine(i); Thread.Sleep(2000); }); 异步并发 此时,内部并不会等待方法 阅读全文
posted @ 2023-12-15 11:12 trykle 编辑