I thought I heard somewhere that the lock-keyword isn't reliable on asynchronous threads. The complication here is that I have both classic threads and asynchronous threads trying to access my method. What kind of lock will work for both types of threads?
lock(oLocker) {
//code here.
}