用c#实现多线程的小程序

南宫伊轩 16 0 RAR 2020-09-28 03:09:33

ThreadStart start = new ThreadStart(Work); Thread thread = new Thread(start); thread.Start(); thread.Suspend(); Thread.Sleep(3000); Console.WriteLine("挂起后继续执行线程"); thread.Resume();

用户评论
请输入评论内容
评分:
暂无评论