DBusWatch function, DBusTimeout functions Why these functions is needed ?

Thiago Macieira thiago at kde.org
Tue Dec 27 00:35:45 UTC 2016


Em segunda-feira, 26 de dezembro de 2016 16:54:38 BRST vocĂȘ escreveu:
> Hi Thiago,
> 
> Thanks for explanation.
> 
> I little bit figure out how to work with Watchs from this link
> https://lists.freedesktop.org/archives/dbus/2007-October/008859.html .
> But I have not still understood how to work with timeout. This timeout
> (add_timeout and remove_timeout) what are their purposes ? It is timeout
> that given by libdbus to handle events for specific file descriptor or what
> is it ?

The purpose is for you to tell libdbus when enough time has passed. They are 
not connected to a specific file descriptor, only the clock.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center


More information about the dbus mailing list