ThreadPool.QueueUserWorkItem(new WaitCallback(SendJson));
Thread thread = new Thread(new ThreadStart(SendJson));
thread.Start();
本文介绍了使用ThreadPool.QueueUserWorkItem方法与直接创建Thread来启动任务的具体实现方式。
ThreadPool.QueueUserWorkItem(new WaitCallback(SendJson));
Thread thread = new Thread(new ThreadStart(SendJson));
thread.Start();
转载于:https://www.cnblogs.com/520yang/articles/4505199.html

被折叠的 条评论
为什么被折叠?