[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
Mon, 6 Sep 2004 22:00:23 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=65414
--- shadow/65414 2004-09-06 21:59:36.000000000 -0400
+++ shadow/65414.tmp.15791 2004-09-06 22:00:23.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 65414
Product: Mono: Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: bmaurer@users.sf.net
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Thread Local Data Slots do not survive nested appdomain transitions
+Summary: [PATCH] Thread Local Data Slots do not survive nested appdomain transitions
Consider this test case:
using System;
using System.Threading;
@@ -49,6 +49,11 @@
is the slot's value. However, this value is not printed. the value is null
------- Additional Comments From bmaurer@users.sf.net 2004-09-06 21:59 -------
Created an attachment (id=10504)
patch
+
+------- 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.