gecko-dev/ipc
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
..
app Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
chromium No bug - Remove unnecessary forward declaration from transport_dib.h. 2013-12-31 10:06:11 +01:00
dbus Bug 956841: Respect DBusWatch flags in I/O-thread watchers, r=qdot 2014-01-15 09:32:11 +01:00
glue Bug 957883: Handle channel errors during process launch such that we don't sit on a dead channel for the full time-out (e.g. 45 secs for NPAPI), and allow us to detect when an error happens during child process init. Also, now that it's possible, actually check for an error during NPAPI child process init. r=bsmedberg 2014-01-11 21:51:00 -06:00
ipdl Bug 952941 - delete no-longer-used includedActorUsings field; r=ehsan 2013-09-27 17:15:02 -04:00
keystore Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
netd Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
nfc Bug 958444: Fix address setup in NFC connector, r=allstars.chh 2014-01-10 12:40:51 +01:00
ril Bug 958444: Fix address setup in RIL connector, r=vicamo 2014-01-10 12:40:57 +01:00
testshell Bug 951847 - Push a cx in TestShellParent. r=gabor 2014-01-01 19:23:55 -08:00
unixsocket Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
moz.build Bug 933635 - Part 1: NFC IPC Makefiles. r=khuey 2013-11-01 14:52:59 +08:00
pull-chromium.py Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00