dbus & threading (fix) ...

Havoc Pennington hp at pobox.com
Fri Mar 5 13:33:32 PST 2010


Hi,

On Fri, Mar 5, 2010 at 3:43 PM, Michael Meeks <michael.meeks at novell.com> wrote:
>
>        Of course - something much more complicated, with the same
> effect could be implemented, but IMHO the exisiting I/O scheme for
> threading in dbus is somewhat over-complicated. IMHO the ORBit2
> approach of splitting out an I/O thead to do centralised polling
> (modeled itself on the UNO approach), that is activated when we first
> do a call from a non-main thread is rather more elegant, simple, and
> not noticably less efficient.
>

I had a similar suggestion (I think?) in the last paragraph here:
http://lists.freedesktop.org/pipermail/dbus/2010-January/012083.html

I might almost suggest that switching libdbus to that model is easier
than trying to understand whatever libdbus is doing now.

Havoc


More information about the dbus mailing list