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

Rafael Teixeira <[email protected]>
Newsgroups gmane.comp.gnome.mono.devel,gmane.comp.gnome.winforms
Message-ID <[email protected]>
AFAIK, most classes/methods in System.Drawing (as well as most of the
System.* namespaces) are marked as non-threadsafe.

See msdn docs for each class/method to be sure, as we follow suit.

Rafael "Monoman" Teixeira
---------------------------------------
"To be creative means to be in love with life. You can be creative only if
you love life enough that you want to enhance its beauty, you want to bring
a little more music to it, a little more poetry to it, a little more dance
to it."
Osho


On Wed, Oct 28, 2009 at 3:47 PM, Alex Shulgin <
[email protected]> 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.
>
> --
> Alex
>
> _______________________________________________
> Mono-devel-list mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>

_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.