Skip to content

Find a replacement for mutexes #8103

@RomanovM

Description

@RomanovM

We use named mutexes to avoid performing the same action in different threads, but mutexes cannot be used in with the await operation.
We also cannot use semaphore, because it produces PlatformNotSupportedException exception on UNIX based systems.
So, we need a cross-platform and async-await solution.

Perhaps any third-party library, like https://github.com/neosmart/synchronization
See also #5498

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions