commit | b507129d138424d14c00f3ee01adae88ed1468cf | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Mar 23 11:44:27 2017 +0000 |
committer | Andrew Scull <ascull@google.com> | Thu Mar 23 11:59:21 2017 +0000 |
tree | aedc6b4e6ceb8a2afeb35aeea6b6e4ce603d30e9 | |
parent | 17398427e40008fbae3e3053eb7a6f47b16c6ef0 [diff] [blame] |
Improve esed power performance. Turns out infinite loops are far from optimal. Test: boot on system with patched kernel Change-Id: I328a0566e3d626e83ba4c5c1edb2c15187aa0316
diff --git a/esed/esed.cpp b/esed/esed.cpp index 0caacac..02dd3d3 100644 --- a/esed/esed.cpp +++ b/esed/esed.cpp
@@ -59,6 +59,7 @@ continue; } LOG(INFO) << "Opened connection to the eSE"; + break; } // This will be a single threaded daemon. This is important as libese is not