diff options
| author | Tim Murray <timmurray@google.com> | 2013-07-29 14:32:34 -0700 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2013-07-29 14:32:34 -0700 |
| commit | 47666f52468d8ce14498fac635125f24f79d3257 (patch) | |
| tree | 3a9ba602d8abaae2b1125be9008f75fa2af47aaa /cpp/RenderScript.cpp | |
| parent | 729b6fe58aff47c4f666b22bbb7a6d6114ddefa9 (diff) | |
Fix initialization problem in rsCPP.
bug 10018717
Change-Id: I623435268219b5c4f6aa5183032e833fd56d5099
Diffstat (limited to 'cpp/RenderScript.cpp')
| -rw-r--r-- | cpp/RenderScript.cpp | 1 |
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; } |
