diff options
author | Nick Daly <Nick.M.Daly@gmail.com> | 2013-04-23 17:49:22 -0500 |
---|---|---|
committer | Nick Daly <Nick.M.Daly@gmail.com> | 2013-04-23 17:49:22 -0500 |
commit | f55c7a48ea534e342e6efbd4c7edaf1b1e07f61b (patch) | |
tree | fec45d97e4e976ef7ba5dde83f538fcf19092bc0 /vendor/CherryPy-3.2.0/sphinx/source/refman/process/plugins/signalhandler.rst | |
parent | 157226f1b88bc090b677f9896aa62a0c734ebf14 (diff) |
Merged with James's upstream.
Hope I did it right. If I screwed up, withsqlite is borked.
Diffstat (limited to 'vendor/CherryPy-3.2.0/sphinx/source/refman/process/plugins/signalhandler.rst')
-rw-r--r-- | vendor/CherryPy-3.2.0/sphinx/source/refman/process/plugins/signalhandler.rst | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/vendor/CherryPy-3.2.0/sphinx/source/refman/process/plugins/signalhandler.rst b/vendor/CherryPy-3.2.0/sphinx/source/refman/process/plugins/signalhandler.rst deleted file mode 100644 index 5e8ced3..0000000 --- a/vendor/CherryPy-3.2.0/sphinx/source/refman/process/plugins/signalhandler.rst +++ /dev/null @@ -1,39 +0,0 @@ -**************** -Handling Signals -**************** - -SignalHandler -============= - -This :ref:`Engine Plugin<plugins>` is instantiated automatically as -``cherrypy.engine.signal_handler``. -However, it is only *subscribed* automatically by ``cherrypy.quickstart()``. -So if you want signal handling and you're calling:: - - tree.mount(); engine.start(); engine.block() - -on your own, be sure to add:: - - if hasattr(cherrypy.engine, 'signal_handler'): - cherrypy.engine.signal_handler.subscribe() - -.. currentmodule:: cherrypy.process.plugins - -.. autoclass:: SignalHandler - :members: - - -.. index:: Windows, Ctrl-C, shutdown -.. _windows-console: - -Windows Console Events -====================== - -Microsoft Windows uses console events to communicate some signals, like Ctrl-C. -When deploying CherryPy on Windows platforms, you should obtain the -`Python for Windows Extensions <http://sourceforge.net/projects/pywin32/>`_; -once you have them installed, CherryPy will handle Ctrl-C and other -console events (CTRL_C_EVENT, CTRL_LOGOFF_EVENT, CTRL_BREAK_EVENT, -CTRL_SHUTDOWN_EVENT, and CTRL_CLOSE_EVENT) automatically, shutting down the -bus in preparation for process exit. - |