commit | f1aa0581d51ba0cf562bc67c7be28d55df6700bc | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Tue Mar 21 11:33:33 2017 -0700 |
committer | Hridya Valsaraju <hridya@google.com> | Thu Mar 30 14:12:56 2017 -0700 |
tree | 2b219ef6cdb2dc9beffcfd5cb5b6e061cd42fd59 | |
parent | d8586630c885fd7c60c008f0cc10ee10fd397c30 [diff] |
Add optional retry parameter to EventFlag wait() This is to add an option to automatically retry waiting in case of spurious EventFlag wakes. Also modify ReadBlocking()/WriteBlocking() implementation to use the new wait API with automatic retry. Bug: 35995121 Test: fmq_test passes, all unit tests which use readBlocking()/writeBlocking() methods will test the new retry parameter. Change-Id: Id97024f18086fe26efd00d01391e453bf4e9cb3f