##// END OF EJS Templates
Shut down kernels in parallel...
Shut down kernels in parallel When stopping the notebook server, it currently sends a shutdown request to each kernel and then waits for the process to finish. This can be slow if you have several kernels running. This makes it issues all the shutdown requests before waiting on the processes, so shutdown happens in parallel. KernelManager (and MultiKernelManager) gain three new public API methods to allow this: * request_shutdown (promoted from a private method) * wait_shutdown (refactored out of shutdown_kernel) * cleanup (refactored out of shutdown_kernel)

File last commit:

r10201:06a54042
r16510:633371e5
Show More
__init__.py
17 lines | 681 B | text/x-python | PythonLexer
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #-----------------------------------------------------------------------------
MinRK
move check_for_zmq to utils.zmqrelated
r10201 # Copyright (C) 2013 The IPython Development Team
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING.txt, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
MinRK
bump minimum pyzmq version to 2.1.11...
r9336 # Verify zmq version dependency >= 2.1.11
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #-----------------------------------------------------------------------------
MinRK
move check_for_zmq to utils.zmqrelated
r10201 from IPython.utils.zmqrelated import check_for_zmq
MinRK
warn on detection of libzmq 3
r4248
MinRK
move check_for_zmq to utils.zmqrelated
r10201 check_for_zmq('2.1.11', 'IPython.kernel.zmq')
MinRK
add basics to top-level IPython.zmq namespace
r7543
from .session import Session