Multiple locks of one method from multiple objects

56 views Asked by At

I came across the following question: if we have, for example, 2 methods from 2 different classes and both of them are using one DAL and every method has a lock statement when using the same method from the DAL, but the lock to a different objects, internal for each class. So my question is: Are the calls to the DAL still going to be synchronized?

0

There are 0 answers