Async DBusMessage reads using the C API

John (J5) Palmieri johnp at redhat.com
Thu Nov 3 10:24:24 PST 2005


On Thu, 2005-11-03 at 10:57 -0500, Havoc Pennington wrote:
> On Thu, 2005-11-03 at 11:54 +0000, Matthew Johnson wrote:
> > OK, I've modified my original suggestion to have
> > dbus_connection_read_write() which queues any outstanding methods from
> > the bus and they can be read using dbus_connection_pop_message(). New
> > patch is attached. This has all been tested.
> > 
> > Whats the process for getting this into a release (the end result of all
> > this is a package using it I want to get into Debian, which will
> > obviously depend on a version of dbus with the call in)
> > 
> > If we did want a blocking version of this call it should have a timeout
> > value, rather than blocking indefinitely.
> > 
> 
> How about if it takes a timeout_milliseconds argument where -1 means
> block forever and 0 means don't block?

Question about that, does the timeout generate an error on the bus like
normal timeouts (i.e. does read_write_dispatch dispatch an error
message)?   

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list