aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-03-26 00:31:02 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-26 00:31:02 +0000
commit407a49d14b70c7cb9579a1b3639fb5ce898eeb89 (patch)
tree8b4a916f166b2c0ca252d023a3be0f32d4cc952f
parent3fc50f84d3af1cb42dfc7fae2f8d31e9ac6afa57 (diff)
parent6660479302019aefb81e11641d095074a53593a6 (diff)
downloadndk-407a49d14b70c7cb9579a1b3639fb5ce898eeb89.tar.gz
Merge "Remove use of PTHREAD_RECURSIVE_MUTEX_INITIALIZER."
-rw-r--r--sources/cxx-stl/gabi++/src/one_time_construction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/cxx-stl/gabi++/src/one_time_construction.cc b/sources/cxx-stl/gabi++/src/one_time_construction.cc
index c0b54be7c..26f2c8d57 100644
--- a/sources/cxx-stl/gabi++/src/one_time_construction.cc
+++ b/sources/cxx-stl/gabi++/src/one_time_construction.cc
@@ -52,7 +52,7 @@
*
* Cons: Slower than necessary.
*/
-static pthread_mutex_t sMutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
+static pthread_mutex_t sMutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
static pthread_cond_t sCond = PTHREAD_COND_INITIALIZER;