diff options
Diffstat (limited to 'src/mongo/util/quick_exit.h')
-rw-r--r-- | src/mongo/util/quick_exit.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mongo/util/quick_exit.h b/src/mongo/util/quick_exit.h index 029b0c88f81..ba4b64b551e 100644 --- a/src/mongo/util/quick_exit.h +++ b/src/mongo/util/quick_exit.h @@ -30,14 +30,14 @@ namespace mongo { - /** This function will call ::_exit and not return. Use this instead of calling ::_exit - * directly: - * - It offers a debugger hook to catch the process before leaving code under our control. - * - For some builds (leak sanitizer) it gives us an opportunity to dump leaks. - * - * The function is named differently than quick_exit so that we can distinguish it from - * the C++11 function of the same name. - */ - MONGO_COMPILER_NORETURN void quickExit(int); +/** This function will call ::_exit and not return. Use this instead of calling ::_exit + * directly: + * - It offers a debugger hook to catch the process before leaving code under our control. + * - For some builds (leak sanitizer) it gives us an opportunity to dump leaks. + * + * The function is named differently than quick_exit so that we can distinguish it from + * the C++11 function of the same name. + */ +MONGO_COMPILER_NORETURN void quickExit(int); -} // namespace mongo +} // namespace mongo |