Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=80799

--- shadow/80799        2007-02-11 23:17:45.000000000 -0500
+++ shadow/80799.tmp.30882      2007-02-11 23:34:13.000000000 -0500
@@ -109,6 +109,18 @@
 you'll see that things start to go slightly better.
 Often I get MemberAccessExceptions from GDI+, which means
 that a GDI+ object that was created in one thread is
 consumed in another thread. I bet there are some static
 shared objects inside SWF.
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-02-11 23:34 -------
+BTW, mono_marshal_get_native_wrapper() uses
+mono_marshal_find_in_cache() which in turn takes the marshal
+lock and lookups the cached wrapper. If is was not in
+cache, it releases the lock and starts generating the
+wrapper.
+
+Of course, 2 threads might be generating the same wrapper at
+the same time, but this doesn't hurt. It's far better than
+having a big lock around mono_marshal_get_native_wrapper().
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to