示例#1
0
 private bool AddThreads(int count)
 {
     return(threadCollection.TryAddThreads(
                count,
                () => Enumerable.Repeat(0, count).Select(i => new WorkingThread(dispatcher)).ToArray()));
 }