Commit 68ca6a36 authored by Fred Drake's avatar Fred Drake

- fix use of \refmodule markup

- correct some module names, add hyperlinks
- wrap some long lines
parent d78b28ab
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
Drop-in replacement for the \module{thread} module} Drop-in replacement for the \module{thread} module}
\declaremodule[dummythread]{standard}{dummy_thread} \declaremodule[dummythread]{standard}{dummy_thread}
\modulesynopsis{Drop-in replacement for the thread module.} \modulesynopsis{Drop-in replacement for the \refmodule{thread} module.}
This module provides a duplicate interface to the \refmodule{thread} module. It This module provides a duplicate interface to the \refmodule{thread}
is meant to be imported when the \module{thread} module is not provided on a module. It is meant to be imported when the \refmodule{thread} module
platform. is not provided on a platform.
Suggested usage is: Suggested usage is:
......
\section{\module{dummy_thread} --- \section{\module{dummy_threading} ---
Drop-in replacement for the \module{threading} module} Drop-in replacement for the \module{threading} module}
\declaremodule[dummythreading]{standard}{dummy_threading} \declaremodule[dummythreading]{standard}{dummy_threading}
\modulesynopsis{Drop-in replacement for the threading module.} \modulesynopsis{Drop-in replacement for the \refmodule{threading} module.}
This module provides a duplicate interface to the \refmodule{threading} module. It This module provides a duplicate interface to the
is meant to be imported when the \module{threading} module is not provided on a \refmodule{threading} module. It is meant to be imported when the
platform. \refmodule{thread} module is not provided on a platform.
Suggested usage is: Suggested usage is:
......
...@@ -18,8 +18,9 @@ semaphores}) are provided. ...@@ -18,8 +18,9 @@ semaphores}) are provided.
The module is optional. It is supported on Windows, Linux, SGI The module is optional. It is supported on Windows, Linux, SGI
IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread
(a.k.a. ``pthread'') implementation. For systems lacking the \module{thread} (a.k.a. ``pthread'') implementation. For systems lacking the \module{thread}
module, the \refmodule{dummy_thread} module is available. It duplicates this module, the \refmodule[dummythread]{dummy_thread} module is available.
module's interface and can be used as a drop-in replacement. It duplicates this module's interface and can be
used as a drop-in replacement.
\index{pthreads} \index{pthreads}
\indexii{threads}{\POSIX} \indexii{threads}{\POSIX}
......
...@@ -8,8 +8,9 @@ ...@@ -8,8 +8,9 @@
This module constructs higher-level threading interfaces on top of the This module constructs higher-level threading interfaces on top of the
lower level \refmodule{thread} module. lower level \refmodule{thread} module.
The \refmodule{dummy_threading} module is provided for situations where The \refmodule[dummythreading]{dummy_threading} module is provided for
\module{threading} cannot be used because \module{thread} is missing. situations where \module{threading} cannot be used because
\refmodule{thread} is missing.
This module is safe for use with \samp{from threading import *}. It This module is safe for use with \samp{from threading import *}. It
defines the following functions and objects: defines the following functions and objects:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment