Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/embedded-api')
-rw-r--r--docs/embedded-api9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/embedded-api b/docs/embedded-api
index 1ed0f5381f1..f658eb28e03 100644
--- a/docs/embedded-api
+++ b/docs/embedded-api
@@ -225,6 +225,15 @@
It may not be possible to manage exceptions in that case,
though. I need to think more about it.
+** Threading issues
+
+ If your application creates threads on its own, and you want them to
+ be able to call code into the CIL universe with Mono, you have to
+ register the thread with Mono before issuing the call.
+
+ To do so, call the mono_thread_attach() function before you execute
+ any managed code from the thread
+
* Samples
See the sample programs inmono/sample/embed for examples of