Hiding internal DBUS use inside a library

Lennart Poettering mzqohf at 0pointer.de
Mon Aug 29 10:03:37 PDT 2005


On Fri, 26.08.05 00:09, Colin Walters (walters at verbum.org) wrote:

> On Fri, 2005-08-26 at 01:14 +0200, Lennart Poettering wrote:
> 
> > Maybe. But it it doesn't fit our needs and the same is true in many
> > other cases. Think of any plugins-based system daemon that doesn't use
> > Glib. Such as Apache or whatever. If an Apache module wants to use
> > DBUS it has to integrate the DBusConnection with the way Apache does
> > event dispatching. Therefore it will set the timeout/watch functions
> > of the DBusConnection to some glue code. 
> 
> This hypothetical Apache module can't set those timeout/watch functions
> to anything sane without having a mainloop anyways though, and I doubt
> Apache modules are able to run mainloops outside of the Apache core.

That's not the point. Consider any other plugins-based system which
does have a central thing you'd consider a proper "main loop".

Lennart

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


More information about the dbus mailing list