summaryrefslogtreecommitdiff
path: root/src/mongo/util/signal_handlers.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-04-01 15:24:59 -0400
committerMathias Stearn <mathias@10gen.com>2014-04-01 19:39:09 -0400
commit11e43325fa2b0139df1eb9c367b984a5b112dbb4 (patch)
treed9b145761d85ee68734f521559ae25c8b685eab0 /src/mongo/util/signal_handlers.h
parent4e1eccfe64f424daead6ed22542377d2e1ce798e (diff)
downloadmongo-11e43325fa2b0139df1eb9c367b984a5b112dbb4.tar.gz
SERVER-13429 Remove printStackAndExit
All of the functions in signal_handlers.cpp were broken when logfiles or syslog were in use. This commit removes them and all callers. The files were left in place for a later commit to fill them back in with a unified signal handling system.
Diffstat (limited to 'src/mongo/util/signal_handlers.h')
-rw-r--r--src/mongo/util/signal_handlers.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/util/signal_handlers.h b/src/mongo/util/signal_handlers.h
index da4deaa8698..01f59728868 100644
--- a/src/mongo/util/signal_handlers.h
+++ b/src/mongo/util/signal_handlers.h
@@ -32,13 +32,4 @@
namespace mongo {
- /**
- * Obtains the log file handler and writes the current thread's stack trace to
- * it. This call issues an exit(). The function can safely be called from within a
- * signal handler.
- *
- * @param signal that this hadler is called for
- */
- void printStackAndExit( int signalNum );
-
} // namespace mongo