diff options
author | Xiaohui Chen <xiaohuic@google.com> | 2015-04-07 10:12:24 -0700 |
---|---|---|
committer | Xiaohui Chen <xiaohuic@google.com> | 2015-04-07 10:34:36 -0700 |
commit | ab7f01d51b9dbb031bddaa10f32b070942cd57e0 (patch) | |
tree | 760fc53c24a3ce737656571bd7cf2f6178163896 /rs/java/android/renderscript/RenderScript.java | |
parent | cef55cde1cf1b9b15583d6b4c439dfea7bac7c26 (diff) |
fix a potential race condition
Currently worker threads in computeBestConfiguration may NOT completely
finish before timeout. But the code will start using the result while
the worker threads are still working on the same object. This may
cause exceptions.
b/19966623
Change-Id: I62ffcb796d648891ee339b6a978f575ebad8352b
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions