[Mono-bugs] [Bug 65414][Nor] Changed - [PATCH] Thread Local Data Slots do not survive nested appdomain transitions

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 7 Sep 2004 11:29:18 -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 lupus@ximian.com.

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

--- shadow/65414	2004-09-06 22:00:23.000000000 -0400
+++ shadow/65414.tmp.31502	2004-09-07 11:29:18.000000000 -0400
@@ -54,6 +54,10 @@
 
 
 ------- Additional Comments From bmaurer@users.sf.net  2004-09-06 22:00 -------
 This patch makes the Slothash use [ThreadStatic] for storage. This
 seems to have the appdomain crossing stuff already handled correctly.
 I can remove a bunch of unmanaged code once this is checked in.
+
+------- Additional Comments From lupus@ximian.com  2004-09-07 11:29 -------
+Why not put the hash in the Thread object?
+[ThreadStatic] fields should be avoided when possible.