A thread which is joined to another can't continue its execution untill the thread to which it is joined has been completely executed or terminated. 继上述线程特性,最后一个线程我在下面的代码创建必须打印其陈述的程序Func()内,但事实并非如此。这是
我试图通过让一个线程写入链接列表和另一个线程处理链接列表来加快速度。 由于某种原因,如果写入链接列表的方法将其设置为一个任务,并且从链接列表中读取一个低优先级的线程的方法,程序会以更快的速度完成。换句话说,我experiense fastests结果时做: Task.Factory.StartNew(AddItems);
new Thread(startProcessingItems) { P