Async DBusMessage reads using the C API

John (J5) Palmieri johnp at redhat.com
Fri Nov 4 06:54:36 PST 2005


On Fri, 2005-11-04 at 10:25 +0000, Matthew Johnson wrote:
> On Thu, 3 Nov 2005, Robert McQueen wrote:
> 
> Exactly. The function definition would therefore be:
> 
> void dbus_connection_read_write(DBusConnection* conn, dbus_uint32_t ms);
> 
> We could also have it return a dbus_bool_t, true if the incoming queue
> is now non-empty? That can be checked when you pop_message though, so
> its less vital.
> 
> I'm happy to try and implement the blocking stuff, but I suspect others
> may be able to do so a lot easier. Some pointers as to useful functions
> would be good at the very least.

Just look how read_write_dispatch does it and take out the dispatch
part.

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



More information about the dbus mailing list