Files icon indicating copy to clipboard operation
Files copied to clipboard

Code Quality: Use thread-safe collections if accessed by multiple threads

Open hishitetsu opened this issue 2 years ago • 2 comments

Description

Currently there are some properties using non-thread-safe collections. They may be accessed by multiple threads and cause unexpected errors if those elements can change. These should be replaced with thread-safe collections such as BlockingCollection and ConcurrentDictionary.

Concerned code

Collections accessed by multiple threads and whose elements can change

Gains

Avoid unexpected behavior and crashes.

Requirements

They should be replaced with thread-safe collections such as BlockingCollection and ConcurrentDictionary.

Comments

No response

hishitetsu avatar Jun 15 '23 03:06 hishitetsu

Do you want to work on this?

yaira2 avatar Jun 15 '23 03:06 yaira2

Do you want to work on this?

Yes, but it will take quite a bit of time.

hishitetsu avatar Jun 15 '23 03:06 hishitetsu

Close since it appears that crashes due to not being thread-safe no longer occur.

hishitetsu avatar Jan 24 '24 10:01 hishitetsu