summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-07-29 21:41:29 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-07-29 21:41:29 +0000
commitdcfaa3c0bf151da7be31463bb3fa4e2b4aea6b8c (patch)
tree3021b3cc9cfb87f1893cf9a1407d6929aea405da /cpp/RenderScript.cpp
parent3cec9065841eeecb38aa412b8aeef6bca58c5a07 (diff)
parent47666f52468d8ce14498fac635125f24f79d3257 (diff)
Merge "Fix initialization problem in rsCPP."
Diffstat (limited to 'cpp/RenderScript.cpp')
-rw-r--r--cpp/RenderScript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp
index e2c8bc09..c7204e30 100644
--- a/cpp/RenderScript.cpp
+++ b/cpp/RenderScript.cpp
@@ -432,6 +432,7 @@ bool RS::initDispatch(int targetApi) {
if (gInitError) {
goto error;
} else if (gInitialized) {
+ pthread_mutex_unlock(&gInitMutex);
return true;
}