Hi there to the list,
I was wondering what is the suggested practice to develop
threaded applications which are maemo-friendly. I'm asking this because
I've run into big troubles when trying to port an application which
makes use of GThreads (which I assume should work on maemo, being maemo
very glib-centric) on N800 latest firmware.
The problem is that if I run something like (after calling
g_thread_init() of course):
something = g_thread_create((GThreadFunc)core_socket_up,
user_data, FALSE, &error);
I've checked error which is NULL, but core_socket_up never get called
(shotgun debugging with g_debug). The interesting part is that the
application gracefully exits without any errors (it would be much
better a segfault!) so giving me no clue about what is going on.
So my question is: is the threading system known to work in a
_RELIABLE_ way? Is it thoroughly tested? And more important, have you
any clue on what could be the problem???
Cheers,
Luca
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers