summaryrefslogtreecommitdiff
path: root/src/mongo/db/instance.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-07-01 13:31:17 -0400
committerMathias Stearn <mathias@10gen.com>2014-07-09 12:57:12 -0400
commit46a25fdd1470fb08876c229e77be4986fd12082b (patch)
tree5db072e07fb6c0ee3f2c573b9abc1083f68aca08 /src/mongo/db/instance.h
parent4939ccc6ebb0f7a61121e77ceeebd75d8841606a (diff)
downloadmongo-46a25fdd1470fb08876c229e77be4986fd12082b.tar.gz
SERVER-14395 Clean up StorageEngine initialization and shutdown
* Added StorageEngine::cleanShutdown() and commented that the destructor will never be called. * MMapV1StorageEngine specific operations were pulled into its constructor and cleanShutdown implementation. * StorageEngines are now constructed at a point where it is safe to spawn threads.
Diffstat (limited to 'src/mongo/db/instance.h')
-rw-r--r--src/mongo/db/instance.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/instance.h b/src/mongo/db/instance.h
index d5fef449645..a8abac7e309 100644
--- a/src/mongo/db/instance.h
+++ b/src/mongo/db/instance.h
@@ -144,11 +144,6 @@ namespace mongo {
OperationContext* _txn; // Points either to _txnOwned or a passed-in transaction.
};
- extern int lockFile;
-#ifdef _WIN32
- extern HANDLE lockFileHandle;
-#endif
- void acquirePathLock(bool doingRepair=false); // if doingRepair=true don't consider unclean shutdown an error
void maybeCreatePidFile();
void exitCleanly( ExitCode code );