[Mono-bugs] [Bug 66915][Maj] Changed - Calling back on a delegate passed to native code through p/invoke on a different thread causes a crash.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 27 Sep 2004 20:15:57 -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 daniel_l_christensen@yahoo.com.


--- shadow/66915	2004-09-27 20:09:50.000000000 -0400
+++ shadow/66915.tmp.29443	2004-09-27 20:15:57.000000000 -0400
@@ -47,6 +47,13 @@
 mono-bug.tar.gz - Demonstrates the problem described in the summary
 ------- Additional Comments From vargaz@freemail.hu  2004-09-27 20:09 -------
 Threads need to be registered with the runtime before they can call
 into manager code using the mono_thread_attach () API function.
+------- Additional Comments From daniel_l_christensen@yahoo.com  2004-09-27 20:15 -------
+The native API should not need to be linked against the mono embedding
+API (required to call mono_thread_attach) in order for me to consume
+it's functionality through p/invoke in managed code. Although it would
+be easy enough to do in the simple example that I provided, that is
+not necessarily the case when consuming a published API.