
March 31, 2005
6:50 a.m.
Forgetting to manage the lock around a callback into Python is almost certain to cause a NullReferenceException (because there will be no valid thread state when the callback is made).
Is this take care of when a C# instance calls a delegate, wich is a python function? Or do we need to take the same care? (i.e. wrap the call to the delegate in a AcquireLock/ReleaseLock section). thanks! Stan.