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

Sebastien Pouliot sebastien.pouliot at gmail.com
Wed Oct 28 14:16:37 EDT 2009


On Wed, 2009-10-28 at 19:47 +0200, Alex Shulgin wrote:
> 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.

There has not been many changes between 2.4 and 2.6 wrt
System.Drawing.dll and libgdiplus (i.e. minor maintenance).

Most graphic stuff (and time) now happens in Moonlight...

Sebastien



More information about the Mono-osx mailing list