Jonathan Pryor-2 wrote
> 
> On Apr 18, 2012, at 12:37 PM, fmcicreate wrote:
> (...)
> then you're also going to need to be responsible for everything else as
> well. 
> 
>  - Jon
> 

Hi Jon.
I saw your answer to this question: 
http://comments.gmane.org/gmane.comp.gnome.mono.monodroid/4766
http://comments.gmane.org/gmane.comp.gnome.mono.monodroid/4766 .

I'm having the same problem *Thread 0x0 may have been prematurely finalized*
when calling  mono_runtime_invoke(..) from my app. My app creates threads,
and I know I must call mono_thread_attach(MonoDomain) (From documentation:
call the mono_thread_attach() function before you execute any managed code
from the thread).

But calling this function from the thread gives the same error: *Thread 0x0
may have been prematurely finalized*.

Calling the mono_runtime_invoke(..) from the main thread executes just fine.

Am i missing something? 

Thanks for your help.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Link-to-libmonosgen-2-0-so-in-emulator-tp5649643p5659371.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to