DBus Threading in a Late-loading module

nf2 nf2 at scheinwelt.at
Tue Apr 3 05:51:28 PDT 2007


Thiago Macieira wrote:
> Havoc Pennington wrote:
>   
>> There's just no way this can work AFAIK unless Qt and GLib in fact use
>> the same main loop. And then there should be no problem with dbus,
>> right?
>>     
>
> The mainloop isn't enough: the functions handling watches and timeouts 
> are.
>
> There's a thin layer of code between libdbus and the toolkit that handles 
> that, including a mapping of the structures.
I thought Qt>=4.2 can use glib main loop 
(http://doc.trolltech.com/4.2/qt4-2-intro.html). Thus watches and timers 
should work, no matter if they are registered with the Qt API or the 
glib main loop API... (because the Qt mainloop API just wraps glib main 
loop)




More information about the dbus mailing list