##// 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:

r10286:b0400b4d
r16510:633371e5
Show More
__init__.py
11 lines | 316 B | text/x-python | PythonLexer
MinRK
define and test IPython.kernel public API
r9376 """IPython kernels and associated utilities"""
Brian Granger
Fixed docstring of IPython.kernel.__init__.
r3518
MinRK
check zmq version at top-level kernel import...
r10198 # just for friendlier zmq version check
from . import zmq
MinRK
split kernel.util into kernel.connect and kernel.launcher
r9355 from .connect import *
from .launcher import *
MinRK
add KernelClient to IPython.kernel namespace
r10286 from .client import KernelClient
MinRK
update imports with new layout
r10284 from .manager import KernelManager
MinRK
split KernelManager into KernelManager + KernelClient
r10285 from .blocking import BlockingKernelClient
MinRK
define and test IPython.kernel public API
r9376 from .multikernelmanager import MultiKernelManager