gecko-dev/ipc/dbus
Thomas Zimmermann f8933f1178 Bug 956841: Respect DBusWatch flags in I/O-thread watchers, r=qdot
Currently DBusWatcher registers read and write watchers on
the I/O thread unconditionally. Thus for read-only DBusWatch
structures, the write watcher on the I/O thread generates a
significant amount of CPU overhead by constantly reporting
success via calls to OnFileCanWriteWithoutBlocking.

This patch changes DBusWatcher to respect the status flags
of supplied DBusWatch structures. It will only poll for
read or write status if the DBus watch has the corresponding
flag set.

DBus keeps track of these flags and calls the toggle callback
when it needs to wait on a certain DBusWatch.
2014-01-15 09:32:11 +01:00
..
DBusThread.cpp Bug 956841: Respect DBusWatch flags in I/O-thread watchers, r=qdot 2014-01-15 09:32:11 +01:00
DBusThread.h Bug 932728: Run DBus on the I/O thread, r=qdot 2013-10-29 16:03:40 +01:00
DBusUtils.cpp Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
DBusUtils.h Bug 919913: Cleanup DBusUtils, r=qdot 2013-10-01 10:20:39 +02:00
Makefile.in Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
moz.build Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps 2013-11-19 11:50:54 +09:00
RawDBusConnection.cpp Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
RawDBusConnection.h Bug 932728: Open only one connection to DBus, r=echou,qdot 2013-12-12 12:56:00 +01:00