commit | 65ea92e7ffe197920610c346e5b3a805f4005ebf | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Fri Oct 26 16:21:37 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Mon Oct 29 17:19:50 2018 +0000 |
tree | 5b4760e8c241f2f2c2f483e6c473ff1f97295aed | |
parent | 26e8c6a940c04702aeea82f5ec3dd82e8e33746c [diff] |
dbusconfiguration: lower cpu cycles while waiting Put in a wait() Tested-by: Ran on a system without config, noticed lower cpu cycles Change-Id: I7e59db2bd2f7d7a8fd8695a6277dfed1a86b8ab3 Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/dbus/dbusconfiguration.cpp b/dbus/dbusconfiguration.cpp index ae08cda..0a7c502 100644 --- a/dbus/dbusconfiguration.cpp +++ b/dbus/dbusconfiguration.cpp
@@ -557,6 +557,7 @@ while (1) { bus.process_discard(); + bus.wait(); } } }