[maemo-developers] threaded applications on maemo
From: Luca De Cicco ldecicco at gmail.comDate: Sat Sep 15 03:19:12 EEST 2007
- Previous message: Looks like .maemo.org cert has expired
- Next message: ANNOUNCEMENT: Ruby-Maemo Developer Preview Release.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Looks like .maemo.org cert has expired
- Next message: ANNOUNCEMENT: Ruby-Maemo Developer Preview Release.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
