Wednesday, December 12, 2007

Ian pointed out that there was a race condition in the UniversalAsyncResult that I posted a few days ago. I have amended the original post rather than repost the code.

The changes are to make the complete flag and the waithandle field volatile and to check the complete flag after allocating the waithandle in case Complete was called while the waithandle was being allocated.

Isn't multithreaded programming fun :-)

 | 
Wednesday, December 12, 2007 8:29:13 AM (GMT Standard Time, UTC+00:00)  #    Comments [4]Trackback
Sunday, January 29, 2012 12:22:36 PM (GMT Standard Time, UTC+00:00)
Short, sweet, to the point, FREE-exaclty as information should be!
Monday, January 30, 2012 8:04:26 AM (GMT Standard Time, UTC+00:00)
yE5uy3 <a href="http://rkpmyylosmlr.com/">rkpmyylosmlr</a>
Monday, January 30, 2012 12:04:18 PM (GMT Standard Time, UTC+00:00)
wvXUz6 , [url=http://dbujgqzdftco.com/]dbujgqzdftco[/url], [link=http://xeakstswmgog.com/]xeakstswmgog[/link], http://uwcizzwlxcbd.com/
Wednesday, February 01, 2012 8:05:12 AM (GMT Standard Time, UTC+00:00)
94snUc <a href="http://cbgmghadedeq.com/">cbgmghadedeq</a>
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):