summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorrleix <rayx.lei@intel.com>2017-12-01 15:25:46 +0800
committerElliott Hughes <enh@google.com>2018-08-06 18:04:24 +0000
commit4d5db38cc386f109d21856ecc31722a952e6d2ee (patch)
tree6fea3db9fa1f1472a36536e97f55a62d56ece0c9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9c7e9034abd4e333b3571d23f00e3abbd89af310 (diff)
Fix the system_error while calling thread::join() in NativeCallbackThread.
system_server crashed because the system_error "resource_deadlock_would_occur" occurred while calling thread::join(). It is caused by the value of thread is same with the calling thread. Correct it using std::this_thread::get_id() to check whether it is the same thread with the calling thread. Bug: 70603039 Test step: Step 1 : Flash DUT and boot it. Step 2 : Connect with PC via USB. Step 3 : Run the following adb command and check the DUT:  adb shell su ps -A | grep broadcastradio kill xxx(the process id of android.hardware.broadcastradio@intel-service) Change-Id: Ia21282c4cc631a0788496081b1821be28929fae6 Signed-off-by: Lei,RayX <rayx.lei@intel.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions