Skip to content

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

@hishitetsu

Description

@hishitetsu

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions