[Mono-bugs] [Bug 46650][Nor] Changed - Race condition in code compilation (with delegates).

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 20 Jul 2003 22:02:24 -0400 (EDT)


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 miguel@ximian.com.

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

--- shadow/46650	Sun Jul 20 19:04:36 2003
+++ shadow/46650.tmp.18950	Sun Jul 20 22:02:24 2003
@@ -408,6 +408,17 @@
 Who uses the domain lock (in object.c alone):
 	mono_runtime_class_init
 	mono_class_vtable
 	str_lookup
 	mono_string_is_interned_lookup
 	mono_ldstr<
+
+------- Additional Comments From miguel@ximian.com  2003-07-20 22:02 -------
+Here is a proposed patch:
+
+It moves metadata_section into the metadata/ directory;  Exposes it
+from the appdomain.h file (only .h in metadata where I found another
+lock, and figured `maybe they should be documented together').
+
+What the patch does is to take the metadata_shared lock before trying
+to get the domain lock in the code that does it.
+