commit | a14d19988fa7b9f967437824a04f6c41f84c6eef | [log] [tgz] |
---|---|---|
author | Matt Wala <wala@google.com> | Tue Jul 07 20:02:14 2015 -0700 |
committer | Stephen Hines <srhines@google.com> | Tue Jul 14 15:49:21 2015 -0700 |
tree | a93966cbd27e4f01002e3bf73e2196b18b60ef0c | |
parent | d5d4cfc08b6ac3fb4e9ecddc6405803ee38d2895 [diff] |
RenderScript cts: Fix issues related to concurrency. Use a volatile qualifier for msgHandled in RSBase, since the flag is accessed by multiple threads at the same time. Ensure that checkForErrors() is called after waitForMessage() to avoid a race condition. Change-Id: I6d3811f16003d891d79ad5efe9d6f34a50132576 (cherry picked from commit a73d4999fcb8433d6c8cdff0f2e22a5e2b538294)