summaryrefslogtreecommitdiff
path: root/src/mongo/util/queue.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-09-05 13:50:07 -0400
committerEric Milkie <milkie@10gen.com>2014-09-05 15:39:25 -0400
commit4ce061a127e9f1fb1d31fbaeb64d1179a319316c (patch)
tree52b3edef55e923346c3e54e68b5ad7fbb4197693 /src/mongo/util/queue.h
parentf7c4d34ddb4a88480a1091d1c39e9db450c2d244 (diff)
downloadmongo-4ce061a127e9f1fb1d31fbaeb64d1179a319316c.tar.gz
SERVER-15089 cleanup oplogreader
1. Move some master/slave oplogreader code into master_slave.cpp 2. fix up includes for some files; remove pch.h from a header (!) 3. remove awaitCapable check 4. add new "_host" field to oplogreader to store the HostAndPort we're connected to; will be used by new Applier
Diffstat (limited to 'src/mongo/util/queue.h')
-rw-r--r--src/mongo/util/queue.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/util/queue.h b/src/mongo/util/queue.h
index 7142f527895..a087635d6fa 100644
--- a/src/mongo/util/queue.h
+++ b/src/mongo/util/queue.h
@@ -29,13 +29,11 @@
#pragma once
-#include "mongo/pch.h"
-
+#include <boost/thread/condition.hpp>
#include <limits>
#include <queue>
-#include <boost/thread/condition.hpp>
-
+#include "mongo/util/concurrency/mutex.h"
#include "mongo/util/timer.h"
namespace mongo {