diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-01-07 17:34:52 -0500 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-01-09 15:58:15 -0500 |
commit | c81a76de0b041f1df5bd309a03f13edaa7f5c599 (patch) | |
tree | 845e3bdbaddbbf9f45f60cbe20348c186de66ac9 /src/mongo/util/signal_handlers.h | |
parent | 94fafc43f893854a17d0a7c711e3c90cefce4660 (diff) | |
download | mongo-c81a76de0b041f1df5bd309a03f13edaa7f5c599.tar.gz |
SERVER-16106: Windows Service - Process SERVICE_CONTROL_SHUTDOWN correctly
Diffstat (limited to 'src/mongo/util/signal_handlers.h')
-rw-r--r-- | src/mongo/util/signal_handlers.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/util/signal_handlers.h b/src/mongo/util/signal_handlers.h index 1835d976e26..96a2f27050f 100644 --- a/src/mongo/util/signal_handlers.h +++ b/src/mongo/util/signal_handlers.h @@ -50,4 +50,13 @@ namespace mongo { */ void startSignalProcessingThread(); + /* + * Uninstall the Control-C handler + * + * Windows Only + * Used by nt services to remove the Control-C handler after the system knows it is running + * as a service, and not as a console program. + */ + void removeControlCHandler(); + } // namespace mongo |