¡@

Home 

c# Programming Glossary: mlock

C# thread safety with get/set

http://stackoverflow.com/questions/505515/c-sharp-thread-safety-with-get-set

an object and that object is protected by a lock Object mLock new Object MyObject property public MyObject MyProperty get.. Will the following code properly lock the data Object mLock new Object MyObject property public MyObject MyProperty get.. MyObject property public MyObject MyProperty get lock mLock return property set lock mLock property value By 'properly'..