[Mono-bugs] [Bug 549946] Double free or memory corruption when calling Control.Invalidate (from another thread)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 26 21:06:59 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=549946

User Ivo at UFO-Net.nl added comment
http://bugzilla.novell.com/show_bug.cgi?id=549946#c2





--- Comment #2 from Ivo Smits <Ivo at UFO-Net.nl>  2009-10-26 19:06:55 MDT ---
Sorry, I guess that you are right. MSDN doesn't make any statements on the
pages about the Invalidate method, but there's a list of thread safe methods on
the Controll Class page.

There's a blog entry
(http://andyclymer.blogspot.com/2006/07/at-least-one-more-thread-safe-method.html)
which claims that the Invalidate method is thread safe as it doesn't generate a
warning and "all it is doing is telling the OS that it needs to generate a
Paint event for a given control, which ultimately will be delivered on the
message queue for that controls owning thread".

I guess the author f that blog post is wrong. Thanks for your time.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list