字典错误(非常紧急) [英] dictionary error (very urgent)
问题描述
hello
在枚举器实例化后收到错误后修改了集合
我有一个排序字典,在我的应用程序中,我有一个主线程可以将数据插入排序后的字典
,我创建了一个后台线程,对该排序后的字典进行一些计算
hello
Collection was modified after the enumerator was instantiated getting error
I have a sorteddictionary and in my application i have a main thread which insert data to the sorted dictionary
and i have create a background thread which perform some calculation on that sorted dictionary
现在我想知道如何在两个不同的线程中以高性能使用单个排序的字典
Now i want to know how can i use single sorted dictionary in two different thread with high performance
推荐答案
你好
我有一个sorteddictionary,在我的应用程序中,我有一个主线程将数据插入已排序的字典中
并且我创建了一个后台线程来执行一些计算在那个排序的字典上
hello
I have a sorteddictionary and in my application i have a main thread which insert data to the sorted dictionary
and i have create a background thread which perform some calculation on that sorted dictionary
现在我想知道如何在两个高性能的不同线程中使用单个排序的字典
Now i want to know how can i use single sorted dictionary in two different thread with high performance
这篇关于字典错误(非常紧急)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!