[Mono-bugs] [Bug 77075][Maj] Changed - "SuspendThread failed!" on windows

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 9 11:25:55 EST 2007


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 at ximian.com.

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

--- shadow/77075	2007-01-08 19:20:48.000000000 -0500
+++ shadow/77075.tmp.13401	2007-01-09 11:25:55.000000000 -0500
@@ -170,6 +170,19 @@
 ------- Additional Comments From wberrier at novell.com  2007-01-08 19:20 -------
 I've posted a test installer here:
 
 http://primates.ximian.com/~wberrier/tmp/bxc_77075/
 
 This from the 1.2.2.1 tag, with the above patch from Robert.
+
+------- Additional Comments From lupus at ximian.com  2007-01-09 11:25 -------
+We won't export
+#define CreateThread GC_CreateThread
+and we don't do that for users on pthread platforms either.
+We only do that for threads created inside mono: for user-created
+tests they either need to attach them or the attaching happens
+automatically when a native->managed transition happens.
+Avoiding the dll trick sounds good if it fixes issues: the only
+problem I see is that on windows threads are not automatically
+detached when they die (on pthread we can do that with a tls slot
+destructor callback): this could be considered a minor issue.
+


More information about the mono-bugs mailing list