[Mono-winforms-list] Is System.Drawing (libgdiplus) thread-safe?

Alex Shulgin alexander.shulgin at yessoftware.com
Wed Oct 28 13:47:06 EDT 2009


Alex Shulgin wrote:
> Hi all,
> 
> Is System.Drawing by any means thread-safe?
> 
> Can I create some threads, create a Graphics object in each of them and 
> then work with it from within that thread?  Is this supposed to work or 
> am I doing something really stupid here?

Oh, forgot to mention that I've tested this on both 2.4 and latest 
available 2.6.  The results are the same.

--
Alex



More information about the Mono-winforms-list mailing list