OSDN Git Service

Safely handle interrupts during Thread.join()
authorPirama Arumuga Nainar <pirama@google.com>
Fri, 2 Oct 2015 23:38:08 +0000 (16:38 -0700)
committerPirama Arumuga Nainar <pirama@google.com>
Mon, 5 Oct 2015 23:31:34 +0000 (16:31 -0700)
commita186456ff58a6091603956b6788565a273a29485
tree626843e20f60e3838d56847d8284aaf7a2c234f5
parent13a71fbcf056d34421a7740a75e2c8dc11d30eb6
Safely handle interrupts during Thread.join()

Interrupt current thread if InterruptedException is received during
Thread.join().  Also, log the interruption.

Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2
(cherry picked from commit 83461d73bc50d41f631e1db5c195d12b4eb9e6cf)
rs/java/android/renderscript/RenderScript.java