Clarify doc.
authorPaolo Molaro <lupus@oddwiz.org>
Tue, 11 Jan 2005 14:42:08 +0000 (14:42 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Tue, 11 Jan 2005 14:42:08 +0000 (14:42 -0000)
svn path=/trunk/mono/; revision=38699

mono/metadata/object.c

index 716192b331a7408f4aeb206fe368d48db602bc11..cd5429be99bb16abce9da5fcaf7d5c352973335e 100644 (file)
@@ -1729,13 +1729,15 @@ mono_unhandled_exception (MonoObject *exc)
 }
 
 /*
- * Launch a new thread to start all setup that requires managed code
- * to be executed.
+ * Launch a new thread to execute a function
  *
  * main_func is called back from the thread with main_args as the
  * parameter.  The callback function is expected to start Main()
  * eventually.  This function then waits for all managed threads to
  * finish.
+ * It is not necesseray anymore to execute managed code in a subthread,
+ * so this function should not be used anymore by default: just
+ * execute the code and then call mono_thread_manage ().
  */
 void
 mono_runtime_exec_managed_code (MonoDomain *domain,