[Mono-list] Re: Embedded Mono with native threads

Paolo Molaro lupus at ximian.com
Thu Aug 25 09:56:25 EDT 2005


On 08/25/05 Alexey Tsynaev wrote:
> But actually I don't invoke any unmanaged code from c# code
> How your advice can be used in my situation?
> 
> Host application creates thread where function from my plugin is called.
> In this function I just get MonoMethod and execute it by
> mono_runtime_invoke.
> That is all.

Then you are responsible for calling mono_thread_attach() yourself.
Anyway, the patch I posted should solve your issue as well:
care to try it out?

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list