summaryrefslogtreecommitdiffstats
path: root/runtime/base/mutex-inl.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-17 22:39:56 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-18 00:13:18 -0700
commitdf62950e7a32031b82360c407d46a37b94188fbb (patch)
tree038bf95a2ce296ae3e0c30a131ac22c0986f0f52 /runtime/base/mutex-inl.h
parent0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c (diff)
downloadart-df62950e7a32031b82360c407d46a37b94188fbb.zip
art-df62950e7a32031b82360c407d46a37b94188fbb.tar.gz
art-df62950e7a32031b82360c407d46a37b94188fbb.tar.bz2
Fix cpplint whitespace/parens issues
Change-Id: Ifc678d59a8bed24ffddde5a0e543620b17b0aba9
Diffstat (limited to 'runtime/base/mutex-inl.h')
-rw-r--r--runtime/base/mutex-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/base/mutex-inl.h b/runtime/base/mutex-inl.h
index 07157da..b3f5092 100644
--- a/runtime/base/mutex-inl.h
+++ b/runtime/base/mutex-inl.h
@@ -148,7 +148,7 @@ inline void ReaderWriterMutex::SharedLock(Thread* self) {
}
android_atomic_dec(&num_pending_readers_);
}
- } while(!done);
+ } while (!done);
#else
CHECK_MUTEX_CALL(pthread_rwlock_rdlock, (&rwlock_));
#endif
@@ -176,7 +176,7 @@ inline void ReaderWriterMutex::SharedUnlock(Thread* self) {
} else {
LOG(FATAL) << "Unexpected state_:" << cur_state << " for " << name_;
}
- } while(!done);
+ } while (!done);
#else
CHECK_MUTEX_CALL(pthread_rwlock_unlock, (&rwlock_));
#endif