Bindings without callbacks (was Re: [ANN] Squeak bindings for D-Bus)

Havoc Pennington hp at redhat.com
Wed May 25 12:37:08 PDT 2005


On Wed, 2005-05-25 at 15:35 -0400, Havoc Pennington wrote:
> On Wed, 2005-05-25 at 09:04 -0400, Daniel B. Faken wrote:
> >   The app can then call dbus_connection_read_write_dispatch() or
> > dbus_connection_dispatch() and check the pointer afterwards to see
> > if it got a message.
> 
> Why don't you just use dbus_connection_pop_message() and avoid calling
> dispatch() at all?
> 

I guess we are missing dbus_connection_read_write() (i.e. right now you
have to dispatch in order to read_write)

Havoc




More information about the dbus mailing list