Commit 33f4c97d authored by Guido van Rossum's avatar Guido van Rossum

Add dummy_thread[ing] sections and reference these from libthread[ing].

parent 48755302
...@@ -164,6 +164,8 @@ and how to embed it in other applications. ...@@ -164,6 +164,8 @@ and how to embed it in other applications.
\input{libselect} \input{libselect}
\input{libthread} \input{libthread}
\input{libthreading} \input{libthreading}
\input{libdummythread}
\input{libdummythreading}
\input{libqueue} \input{libqueue}
\input{libmmap} \input{libmmap}
\input{libanydbm} \input{libanydbm}
......
...@@ -17,7 +17,9 @@ semaphores}) are provided. ...@@ -17,7 +17,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. (a.k.a. ``pthread'') implementation. For systems lacking the \module{thread}
module, the \refmodule{dummy_thread} module is available. 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,6 +8,9 @@ ...@@ -8,6 +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
\module{threading} cannot be used because \module{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