Adding Glib GMainContext support to DBusGlib Bindings

Marcus Nascimento marcus.cps at gmail.com
Fri Mar 11 10:30:36 PST 2011


I'm on an embedded environment and only have glib 2.10.6, not 2.26 or newer.
I'll try to cross compile the newer glib to my platform.

Just one last related question:
If I make that dbus-glib modification that I sent in the first email, I'll
be able to use a GMainLoop other than the default one.
So I can create a thread an run this main loop in it.
The default main loop must be running too? (looks like so).

Thanks very much.

On Fri, Mar 11, 2011 at 11:28 AM, Colin Walters <walters at verbum.org> wrote:

> On Fri, Mar 11, 2011 at 9:15 AM, Marcus Nascimento <marcus.cps at gmail.com>
> wrote:
> >
> > Long story short: Do you recommend moving on from glib-dbus to GDbus in
> this
> > case?
>
> Yes, if you can.  But it's also worth saying that in a lot of cases,
> it's not too difficult to structure dbus-glib code such that worker
> threads queue an idle handler to send their data back to the main
> loop, which then sends the reply message.
>
> For reference this is the longstanding bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=857
>



-- 
--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
Marcus Vinícius do Nascimento
Engenharia de Computação - EC03 - UNICAMP
--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110311/ce53f8ca/attachment.htm>


More information about the dbus mailing list