aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-03-26 17:08:29 +0000
committerYabin Cui <yabinc@google.com>2015-03-26 17:08:29 +0000
commit39082e53b47c55155fb0e8ae2d79f03b27755149 (patch)
treed9438e36bb0387a9789ea9c538710c6102f6f474
parent6660479302019aefb81e11641d095074a53593a6 (diff)
downloadndk-39082e53b47c55155fb0e8ae2d79f03b27755149.tar.gz
Revert "Remove use of PTHREAD_RECURSIVE_MUTEX_INITIALIZER."
This reverts commit 6660479302019aefb81e11641d095074a53593a6. Change-Id: I8e9ab306ffc2a987d399373161111480d0086a9e
-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 26f2c8d57..c0b54be7c 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_NP;
+static pthread_mutex_t sMutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
static pthread_cond_t sCond = PTHREAD_COND_INITIALIZER;