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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 1 08:22:54 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 robertj at gmx.net.


--- shadow/77075	2007-02-01 07:20:55.000000000 -0500
+++ shadow/77075.tmp.509	2007-02-01 08:22:54.000000000 -0500
@@ -303,6 +303,16 @@
 About the GC changes: the DLL based auto-registration was put it
 to help with threads which cannot be registered using register_foreign
 since the threads is created by the OS or something and the application
 can't control it. So I think we should be looking into what is causing
 the SuspendThread error instead of working around it.
+------- Additional Comments From robertj at gmx.net  2007-02-01 08:22 -------
+Zoltan, I already gave up the patch. It was just a test because
+I didn't hit the "SuspendThread!" issue in the first place
+and the post from the boehm-gc-list seemed conclusive.
+The patch helped to find out that there is probably no
+race in GC_new_thread () as implied by the missing locks
+that can't be used inside DllMain ().

More information about the mono-bugs mailing list