aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-03-25 17:25:36 -0700
committerYabin Cui <yabinc@google.com>2015-03-25 17:25:36 -0700
commit6660479302019aefb81e11641d095074a53593a6 (patch)
tree4c5fc25a3d9f78b14f58535b8a874cf227bdd35a
parenta134ff3fd16f07b4cdfc6392a754fab313cce67a (diff)
downloadndk-6660479302019aefb81e11641d095074a53593a6.tar.gz
Remove use of PTHREAD_RECURSIVE_MUTEX_INITIALIZER.
Change-Id: I2f7379326bb56af4a874d6e2e67b2ac0fa669e0d
-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;