DBusWatch / DBUS_WATCH_WRITABLE
Kevin Krammer
kevin.krammer at gmx.at
Thu Jun 1 08:08:42 PDT 2006
On Thursday 01 June 2006 15:53, Sander Jansen wrote:
> Hi,
>
> I'm currently working on FOX (www.fox-toolkit.org) specific bindings
> for dbus. My question is regarding the DBUS_WATCH_WRITABLE which is
> always flagged by select (since most of the time, a write will not
> block) resulting in FOX flooding a whole bunch of messages. Is
> DBUS_WATCH_WRITABLE actually being used somewhere?
You can check with dbus_watch_get_enabled if the watch is actually enabled and
only add it to your select fd set if it is.
The toggle watch function gets called if this changes
Cheers,
Kevin
--
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060601/d03611d6/attachment.pgp
More information about the dbus
mailing list