[PATCH] dbus-glib patches
Marcel Holtmann
marcel at holtmann.org
Mon Mar 17 09:16:49 PDT 2008
Hi Colin,
>> Here's a few simple patches for dbus-glib.
>>
>> The first one is trivial, we just bump the version number.
>
> Ok.
>
>> 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.
Regards
Marcel
More information about the dbus
mailing list