OSDN Git Service

Retry if interrupted before mMessageThread has joined
authorPirama Arumuga Nainar <pirama@google.com>
Fri, 2 Oct 2015 19:06:10 +0000 (12:06 -0700)
committerPirama Arumuga Nainar <pirama@google.com>
Fri, 9 Oct 2015 03:13:50 +0000 (20:13 -0700)
commit93db3d4bfd0062024a0cc05623e7e84df7313d86
treecfd2a59982eb4aaa63e3062aa497bc97cac44e87
parent29433f701f6722e1f175dd3b735ed025309907b0
Retry if interrupted before mMessageThread has joined

Bug: 24342101

If interrupted during mMessageThread.join(), retry the join instead of
assuming the thread has joined and continuing.  Continuing to destroy
the context will cause a segfault when the message thread attempts to
use the destroyed context.

Change-Id: I3213091a0e996449bceb403dffca3063786d5a65
(cherry picked from commit 2f25ce7753f7f1f6a0cc549a0df0082286bd5f85)
rs/java/android/renderscript/RenderScript.java