[Mono-devel-list] Embeding MONO and (p)threads
dick at ximian.com
Wed Aug 13 06:15:05 EDT 2003
On Wed, 2003-08-13 at 00:05, Francisco Puentes wrote:
> Is it possible to make a function in mono to include a pre build
> thread in the GC threads list?
I don't think libgc offers this functionality.
> I suppose "mono_thread_attach(MonoDomain*)" do this, but it hangs when
> it is called from a thread :-(
Please add a bug report to http://bugzilla.ximian.com and include a
self-contained example that I can run, so that I can diagnose your
> Is it necessary call the function "mono_runtime_xxx_code()" to init
The mono_runtime_exec_managed_code() is used by the standard runtime so
that thread behaviour can be tamed. It is not necessary for embedded
code, as the embedded developer must define his own thread behaviour.
See mono/docs/threading for more details.
More information about the Mono-devel-list