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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 2 00:02:47 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.

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

--- shadow/77075	2007-01-01 23:22:35.000000000 -0500
+++ shadow/77075.tmp.31003	2007-01-02 00:02:47.000000000 -0500
@@ -137,6 +137,25 @@
 ------- Additional Comments From robertj at gmx.net  2007-01-01 23:22 -------
 Unfortunately I can't reproduce the problem myself.
 
 Anyway, here is a patch, just in case somebody runs into to
 same problem.
 
+
+------- Additional Comments From robertj at gmx.net  2007-01-02 00:02 -------
+Another issue regarding embedding Mono: threads attached with
+GC_thread_register_foreign are not automatically detached upon
+termination: we need a GC_thread_deregister_foreign, which
+has to be called from mono_thread_detach/thread_cleanup.
+
+We also need to expose
+
+#define CreateThread GC_CreateThread
+
+in the embedded API and instruct users to include it in
+their code (like on pthread-platforms). This allows users
+to create threads and register/unregister them with the GC
+automatically.
+
+I prefer to do this work only if the patch has been confirmed
+as working ;-)
+


More information about the mono-bugs mailing list