[Mono-dev] mono/android: possible GC/threading issue?

Jeremy Bell bell.jeremy at gmail.com
Sat Jul 3 13:07:28 EDT 2010

I've just recently been able to get the mono runtime running on android
using koush's androidmono project:

It seems that koush has found a possible issue regarding the Boehm GC and
threading. His description of the issue is as follows:
If you create a simple app that creates a thread, and then calls GC.Collect,
the application will freeze. If you add logging, you can see it fails on
pthread_kill(SIG_THRSUSPEND) , with an EPERM failure.

Is it possible we are missing something in the configuration that is leading
to this? We are using mono from the trunk.

Here is the configure command he is using:
./autogen.sh --with-glib=embedded --with-moonlight=no

You can see the CFLAGS, etc... he is using by taking a look at hisAndroid.mk
file here (select the devel branch):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100703/80ccc4ce/attachment-0001.html 

More information about the Mono-devel-list mailing list