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

Daniel B. Faken faken at cascv.brown.edu
Wed May 25 12:50:13 PDT 2005


On Wed, 25 May 2005, Havoc Pennington wrote:

> 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)

Yeah.. actually if this all works out I'll try to integrate the select() 
into Squeak as AsyncIO.  This was just a quick solution (but I'm glad it 
was there :).

- Daniel





More information about the dbus mailing list