summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2013-11-12 18:22:47 -0800
committerMathieu Chartier <mathieuc@google.com>2013-11-12 18:22:47 -0800
commit34e82934546bd470283346907bd7b74990797c56 (patch)
tree578a6cb08be336c52609f3acb832cd213b9e187a /runtime/base
parent46bc778f1feed02b20d25e3d03470c93ca2c0506 (diff)
downloadart-34e82934546bd470283346907bd7b74990797c56.zip
art-34e82934546bd470283346907bd7b74990797c56.tar.gz
art-34e82934546bd470283346907bd7b74990797c56.tar.bz2
Fix remaining mips build issues.
Missed a few things in mutex.cc. Change-Id: I1c3acfc5faa2511490170199c03ab74c1f23022a
Diffstat (limited to 'runtime/base')
-rw-r--r--runtime/base/mutex.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/base/mutex.cc b/runtime/base/mutex.cc
index 1c7d744..ec79c55 100644
--- a/runtime/base/mutex.cc
+++ b/runtime/base/mutex.cc
@@ -282,7 +282,7 @@ Mutex::~Mutex() {
// TODO: should we just not log at all if shutting down? this could be the logging mutex!
MutexLock mu(Thread::Current(), *Locks::runtime_shutdown_lock_);
Runtime* runtime = Runtime::Current();
- bool shutting_down = (runtime == NULL) || runtime->IsShuttingDown();
+ bool shutting_down = (runtime == NULL) || runtime->IsShuttingDownLocked();
PLOG(shutting_down ? WARNING : FATAL) << "pthread_mutex_destroy failed for " << name_;
}
#endif
@@ -453,7 +453,7 @@ ReaderWriterMutex::~ReaderWriterMutex() {
// TODO: should we just not log at all if shutting down? this could be the logging mutex!
MutexLock mu(Thread::Current(), *Locks::runtime_shutdown_lock_);
Runtime* runtime = Runtime::Current();
- bool shutting_down = runtime == NULL || runtime->IsShuttingDown();
+ bool shutting_down = runtime == NULL || runtime->IsShuttingDownLocked();
PLOG(shutting_down ? WARNING : FATAL) << "pthread_rwlock_destroy failed for " << name_;
}
#endif
@@ -653,7 +653,7 @@ ConditionVariable::~ConditionVariable() {
errno = rc;
MutexLock mu(Thread::Current(), *Locks::runtime_shutdown_lock_);
Runtime* runtime = Runtime::Current();
- bool shutting_down = (runtime == NULL) || runtime->IsShuttingDown();
+ bool shutting_down = (runtime == NULL) || runtime->IsShuttingDownLocked();
PLOG(shutting_down ? WARNING : FATAL) << "pthread_cond_destroy failed for " << name_;
}
#endif