TimedLock
TimedLock copied to clipboard
How to define my own lock block ?
My way to use lock is like following
lock (obj) { DoIt(); }
How can I use your project to do the same thing? I have read the example, but I can't figure out how to use.
try { TimedLock timeLock = TimedLock.Lock(obj); //Thread safe operations timeLock.Dispose(); }
Thanks for helping me.