commit | 4781093ea2fc9aa1d46ceba51f9584c1e1d06e04 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@android.com> | Thu Aug 10 12:32:00 2017 +0200 |
committer | Martijn Coenen <maco@android.com> | Fri Aug 11 10:23:20 2017 +0200 |
tree | 43af5b4abd812710cd85eb207ccd9d101e8626ca | |
parent | 72a8dae2c25d0277e48672ee85b70236268add01 [diff] |
ANDROID: binder: call poll_wait() unconditionally. Because we're not guaranteed that subsequent calls to poll() will have a poll_table_struct parameter with _qproc set. When _qproc is not set, poll_wait() is a noop, and we won't be woken up correctly. Bug: 64552728 Change-Id: I5b904c9886b6b0994d1631a636f5c5e5f6327950 Test: binderLibTest stops hanging with new test Signed-off-by: Martijn Coenen <maco@android.com>