https://bugzilla.novell.com/show_bug.cgi?id=467202

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=467202#c1


Kornél Pál <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #1 from Kornél Pál <[email protected]>  2009-01-18 10:08:44 MST 
---
The problem presented by the test case is a bug indeed, but Bitmap object are
not expected to be thread safe.

Neither is MS GDI+ thread safe on actual object instances.

When dealing with bitmaps in ASP.NET I usually store them in [ThreadStatic()]
WeakReferences because on MS.NET I experienced very rare exceptions when
drawing a (static) Bitmap to new Bitmap.

Also note that libgdiplus caches images created from streams while MS GDI+
reads the stream every time the image is accessed so I have to create new
Bitmaps from Bitmaps to copy them to memory. libgdiplus in this sense still
much better than MS GDI+.

-- 
Configure bugmail: https://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to