summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2011-01-05 12:59:33 -0500
committerMathias Stearn <mathias@10gen.com>2011-01-05 12:59:33 -0500
commite27b051cc2338cbe738057953c341fca5fe2955f (patch)
tree7dce556568b54845a1e5146fc6eab3127a6fe53d /dbtests
parenta46248bdf65f2951c76b3f699da4c8fa2891da92 (diff)
downloadmongo-e27b051cc2338cbe738057953c341fca5fe2955f.tar.gz
astyle
Diffstat (limited to 'dbtests')
-rw-r--r--dbtests/threadedtests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbtests/threadedtests.cpp b/dbtests/threadedtests.cpp
index cee41284a67..72642c4619b 100644
--- a/dbtests/threadedtests.cpp
+++ b/dbtests/threadedtests.cpp
@@ -57,7 +57,7 @@ namespace ThreadedTests {
}
};
- class MongoMutexTest : public ThreadedTest<135> {
+ class MongoMutexTest : public ThreadedTest<135> {
enum { N = 80000 };
MongoMutex *mm;
virtual void setup() {
@@ -66,8 +66,8 @@ namespace ThreadedTests {
virtual void subthread() {
Client::initThread("mongomutextest");
sleepmillis(0);
- for( int i = 0; i < N; i++ ) {
- if( i % 7 == 0 ) {
+ for( int i = 0; i < N; i++ ) {
+ if( i % 7 == 0 ) {
mm->lock_shared();
mm->lock_shared();
mm->unlock_shared();