Interesting Note on Delegates, Events and Multithreading
I like the note that Brad Abrams made regarding the common usage of code for calling Event Handlers. I had no idea this much publicized approach was not thread safe. Very interesting stuff.
Comments
Comment from Thomas Wagner
Time January 16, 2005 at 1:38 pm
Ha! Wouldn’t you know it?! Thanks Keith.
Write a comment
You need to login to post comments!
Comment from Keith Patrick
Time January 16, 2005 at 7:18 am
Probably because the 1.1 MSDN documentation itself advocates the non-threadsafe usage:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpguide/html/cpconeventsmini-sample.htm