[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


User Ivo at UFO-Net.nl added comment

--- 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
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