© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
5 replies
Knikedix

multi threaded gate lock OR

Using the Monitor class, is there a way to create a lock with n input values, which creates a lock for each value? First thought was to create the locks in a loop and map the objects to a key. This will potentionally lead to desdlocks so its not an option.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

What do use in a multi-threaded environment?Dictionary with lock OR ConcurrentDictionary?
C#CC# / help
2y ago
❔ Optimising multi-threaded web API calls
C#CC# / help
3y ago
Is ASP.NET Core requests handling multi-threaded?
C#CC# / help
3y ago
❔ ASP.NET Core, OrchardCore, OrchardCMS
C#CC# / help
3y ago