commit | d1416bd1db03164309f289579f24b3c14954f99d | [log] [tgz] |
---|---|---|
author | Mandeep Singh Baines <[email protected]> | Fri Apr 12 01:27:21 2013 |
committer | ChromeBot <[email protected]> | Mon Apr 15 19:06:12 2013 |
tree | 2f53097cff7615dbb9dade6b1d274c3bc3ffd13e | |
parent | 6c2d6cc19388f2239e41e776191b2de539e8d5c7 [diff] |
[dbus-c++] fix spurious wakeups I was seeing spurious debugd and chapsd wakeups every 10 seconds. Root caused it to the use of wait_min to upper bound the poll timeout to 10 seconds. There is really no good reason to do this. Anyone using this eventloop just wakes up, checks all timeouts and fds, finds there is nothing to do and then goes back to sleep. BUG=chromium:227114 TEST=Verify debugd still works via chrome://system. TEST=Verify that chapsd and debugd no longer generate spurious wakes. Change-Id: I381dc26917bd334be1ac8fe394460af3be4de70a Signed-off-by: Mandeep Singh Baines <[email protected]> Reviewed-on: https://gerrit.chromium.org/gerrit/47951 Reviewed-by: Darren Krahn <[email protected]> Reviewed-by: Elly Jones <[email protected]>