diff options
author | Elliott Hughes <enh@google.com> | 2012-03-08 21:05:27 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-03-09 15:37:46 -0800 |
commit | b3bd5f07884f5a1f2b84224363b1372d7c28d447 (patch) | |
tree | 6e2997ab64b4a4f32d7ef539a4649adc736ea553 /src/mutex.cc | |
parent | ddbd01ac1660d57416879d5a576482f1048dde64 (diff) | |
download | art-b3bd5f07884f5a1f2b84224363b1372d7c28d447.zip art-b3bd5f07884f5a1f2b84224363b1372d7c28d447.tar.gz art-b3bd5f07884f5a1f2b84224363b1372d7c28d447.tar.bz2 |
Refactor the compilers out of libart.
This builds three separate compilers and dynamically links with the right one
at runtime.
Change-Id: I59d22b9884f41de733c09f97e29ee290236d5f4b
Diffstat (limited to 'src/mutex.cc')
-rw-r--r-- | src/mutex.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mutex.cc b/src/mutex.cc index f7c3143..340a075 100644 --- a/src/mutex.cc +++ b/src/mutex.cc @@ -61,6 +61,7 @@ Mutex::~Mutex() { int rc = pthread_mutex_destroy(&mutex_); if (rc != 0) { errno = rc; + // TODO: should we just not log at all if shutting down? this could be the logging mutex! bool shutting_down = Runtime::Current()->IsShuttingDown(); PLOG(shutting_down ? WARNING : FATAL) << "pthread_mutex_destroy failed for " << name_; } |