[maemo-developers] calls to gasyncqueue_new fail

From: Michael Cronenworth mike at cchtml.com
Date: Sat Dec 3 22:14:58 EET 2011
On 11/25/2011 01:50 AM, Michael Cronenworth wrote:
> Is there something Maemo-specific that I need to do to allow async 
> queues? 

Apparently, yes.

In order to use GAsyncQueue objects you must call g_threads_init() and 
link against gthread-2.0. On desktop distros gthread is included in the 
CFLAGS and LIBS of gtk+-2.0 and calling g_threads_init() is not 
required. Now my app works just fine on my N900.
More information about the maemo-developers mailing list