diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-08-20 08:05:46 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-08-20 08:05:46 (GMT) |
commit | bac9a53d007e291b2b32da326def92e71d79191f (patch) | |
tree | 548e18dd8d3f6462546545337cfc52840a1c4f98 /Doc | |
parent | 273069cf7d79293fa0c2cca7fe6ab386a4e5c02a (diff) | |
download | cpython-bac9a53d007e291b2b32da326def92e71d79191f.zip cpython-bac9a53d007e291b2b32da326def92e71d79191f.tar.gz cpython-bac9a53d007e291b2b32da326def92e71d79191f.tar.bz2 |
Break up the 'someos' docs classification based on a more user-focused scheme, including creation of a separate 'Concurrent Execution' section
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/concurrency.rst | 31 | ||||
-rw-r--r-- | Doc/library/datatypes.rst | 2 | ||||
-rw-r--r-- | Doc/library/index.rst | 2 | ||||
-rw-r--r-- | Doc/library/ipc.rst | 6 | ||||
-rw-r--r-- | Doc/library/someos.rst | 24 | ||||
-rw-r--r-- | Doc/library/text.rst | 2 |
6 files changed, 37 insertions, 30 deletions
diff --git a/Doc/library/concurrency.rst b/Doc/library/concurrency.rst new file mode 100644 index 0000000..56fe3f2 --- /dev/null +++ b/Doc/library/concurrency.rst @@ -0,0 +1,31 @@ +.. _concurrency: + +******************** +Concurrent Execution +******************** + +The modules described in this chapter provide support for concurrent +execution of code. The appropriate choice of tool will depend on the +task to be executed (CPU bound vs IO bound) and preferred style of +development (event driven cooperative multitasking vs preemptive +multitasking) Here's an overview: + + +.. toctree:: + + threading.rst + multiprocessing.rst + concurrent.futures.rst + subprocess.rst + sched.rst + queue.rst + select.rst + + +The following are support modules for some of the above services: + +.. toctree:: + + dummy_threading.rst + _thread.rst + _dummy_thread.rst diff --git a/Doc/library/datatypes.rst b/Doc/library/datatypes.rst index 8e33c1f..d0382e0 100644 --- a/Doc/library/datatypes.rst +++ b/Doc/library/datatypes.rst @@ -25,8 +25,6 @@ The following modules are documented in this chapter: heapq.rst bisect.rst array.rst - sched.rst - queue.rst weakref.rst types.rst copy.rst diff --git a/Doc/library/index.rst b/Doc/library/index.rst index dc35b09..ba20361 100644 --- a/Doc/library/index.rst +++ b/Doc/library/index.rst @@ -57,7 +57,7 @@ the `Python Package Index <http://pypi.python.org/pypi>`_. fileformats.rst crypto.rst allos.rst - someos.rst + concurrency.rst ipc.rst netdata.rst markup.rst diff --git a/Doc/library/ipc.rst b/Doc/library/ipc.rst index c873065..91ec693 100644 --- a/Doc/library/ipc.rst +++ b/Doc/library/ipc.rst @@ -8,7 +8,7 @@ The modules described in this chapter provide mechanisms for different processes to communicate. Some modules only work for two processes that are on the same machine, e.g. -:mod:`signal` and :mod:`subprocess`. Other modules support networking protocols +:mod:`signal` and :mod:`mmap`. Other modules support networking protocols that two or more processes can used to communicate across machines. The list of modules described in this chapter is: @@ -16,9 +16,9 @@ The list of modules described in this chapter is: .. toctree:: - subprocess.rst socket.rst ssl.rst - signal.rst asyncore.rst asynchat.rst + signal.rst + mmap.rst diff --git a/Doc/library/someos.rst b/Doc/library/someos.rst deleted file mode 100644 index d2009bb..0000000 --- a/Doc/library/someos.rst +++ /dev/null @@ -1,24 +0,0 @@ -.. _someos: - -********************************** -Optional Operating System Services -********************************** - -The modules described in this chapter provide interfaces to operating system -features that are available on selected operating systems only. The interfaces -are generally modeled after the Unix or C interfaces but they are available on -some other systems as well (e.g. Windows). Here's an overview: - - -.. toctree:: - - select.rst - threading.rst - multiprocessing.rst - concurrent.futures.rst - mmap.rst - readline.rst - rlcompleter.rst - dummy_threading.rst - _thread.rst - _dummy_thread.rst diff --git a/Doc/library/text.rst b/Doc/library/text.rst index 939ed4f..47b6784 100644 --- a/Doc/library/text.rst +++ b/Doc/library/text.rst @@ -21,4 +21,6 @@ Python's built-in string type in :ref:`textseq`. textwrap.rst unicodedata.rst stringprep.rst + readline.rst + rlcompleter.rst |