commit | a73d4999fcb8433d6c8cdff0f2e22a5e2b538294 | [log] [tgz] |
---|---|---|
author | Matt Wala <wala@google.com> | Tue Jul 07 20:02:14 2015 -0700 |
committer | Matt Wala <wala@google.com> | Tue Jul 14 14:56:39 2015 -0700 |
tree | d504744ca68786bccff7c52bb536385c88e3f12c | |
parent | b23c9498ff4ddec4e9a0e71f34e18fa385ffdc83 [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