Hiding internal DBUS use inside a library

Lennart Poettering mzqohf at 0pointer.de
Mon Aug 29 12:22:00 PDT 2005


On Fri, 26.08.05 12:04, John (J5) Palmieri (johnp at redhat.com) wrote:

> > For example a shared library makes use of avahi, and the application
> > makes use of avahi, or two entirely separate parts, 1 is using dbus and
> > 1 is using avahi, or even two entirely separate parts of the code making
> > use of avahi with two separate main loop adapters.
> 
> So having two mainloops seems weird to me.  A mainloop should provide
> integration so anything that would need a mainloop would just use the
> controlling applications mainloop.

Hrmm? Lathiat didn't say two main loops. He said two main loop
adapters. 

We use main loop adapters to abstract the used main loop from our
library. 

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] de
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.de/lennart/


More information about the dbus mailing list