On Jul 26, 2011, at 4:12 AM, Igor Russkih wrote:
> BTW, could you give some insight into System.Threading.Thread usage.. As I 
> understand monodroid arch now - for dalvik its a kind of JNI layer (working 
> eventually as a .net vm). How then its possible to run native .net threads in 
> there? How you can run both mono and dalvik in a same linux process? Or may 
> be you don't?

Dalvik isn't a just JNI layer. It's the name for their VM, which interprets and 
JITs Dalvik bytecode, has a GC, and just also happens to implement a JNI layer. 
Dalvik runs atop the Linux kernel, and Linux provides thread support.

Mono runs threads by using the Linux kernel (pthread_create(), etc.).

Dalvik and Mono are both in the same process. It's really no different than 
having a Java VM and Mono/.NET loaded into the same process (which is entirely 
do-able; just LoadLibrary() things into a process). The complication comes from 
trying to get the two VMs to interact with each other.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to