Technically, yeah you could. That depends on how many methods and how often they are going to be called. I wouldn't be too bothered about sharing a lock betwen a couple of functions. Maybe not tens or hundreds though. Or if the methods are constantly
being called.
I'm afraid I no longer use this forum due to the new point allocation system.
All-Star
37441 Points
9076 Posts
Re: SyncLock - Public Shared Property
Sep 04, 2013 09:12 PM|AidyF|LINK
Technically, yeah you could. That depends on how many methods and how often they are going to be called. I wouldn't be too bothered about sharing a lock betwen a couple of functions. Maybe not tens or hundreds though. Or if the methods are constantly being called.