[PATCH] dbus-glib patches
marcel at holtmann.org
Mon Mar 17 09:16:49 PDT 2008
>> Here's a few simple patches for dbus-glib.
>> The first one is trivial, we just bump the version number.
>> The second one is needed if you want to use the generated client glue
>> and you have operations that lasts longer than the default timeout.
> As Rob said I think we generally want to point people away from
> increasing the timeouts, and it's worth mentioning something to this
> effect in the docstring. But there are cases where it's useful, so
> let's add this.
it really depends on the situation. The Start/Stop/Cancel and can end
up easily in a too complicated API. So turning users away from long
timeouts in general is not the solution. It is a case by case thing
which highly depends on the API and its actual usage.
The advice that should be given to developers implementing these kind
of APIs that require long timeouts, it is mandatory to document it. We
might wanna add a annotation for the introspection. Just an idea.
More information about the dbus