Async DBusMessage reads using the C API

Havoc Pennington hp at redhat.com
Thu Nov 3 07:57:50 PST 2005


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?

Havoc




More information about the dbus mailing list