Dbus-Glib API with support for timeout

Nallammai S snallammai at novell.com
Sun Jan 21 22:54:03 PST 2007


Hi,

Currently,the dbus GLib API does not allow the end-user to specify the timeout for a method call. (It is hard coded as -1 in the code)

To support this, I have changed the dbus_g_proxy_begin_call_internal() method to take an additional parameter timeout .Also included two new APIs dbus_g_proxy_begin_call_with_timeout() and dbus_g_proxy_call_with_timeout() that allows the end-user  to specify the timeout.

I have tested this patch and it works fine. 

Let me know if there are any comments.

Nallammai.S 







More information about the dbus mailing list