.Net / C # requires lock manager

I am looking for an implementation of a lock manager that I can use to protect various resources in my distributed application. Search for standard read / write / read capabilities.

Any ideas?

+5
source share
1 answer

Consider using ConcurrentDictionary . It can have many locks for effective simultaneous interactions, and its methods strongly encourage simultaneous thinking, such as AddOrUpdateand GetOrAdd, both of which have overloads with functions and objects.

0
source

All Articles