dbus & threading (fix) ...
hp at pobox.com
Fri Mar 5 13:33:32 PST 2010
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:
I might almost suggest that switching libdbus to that model is easier
than trying to understand whatever libdbus is doing now.
More information about the dbus