Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2969233

Browse files
committed
Add dummy_thread[ing] sections and reference these from libthread[ing].
1 parent ad50ca9 commit 2969233

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

Doc/lib/lib.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ \chapter*{Front Matter\label{front}}
164164
\input{libselect}
165165
\input{libthread}
166166
\input{libthreading}
167+
\input{libdummythread}
168+
\input{libdummythreading}
167169
\input{libqueue}
168170
\input{libmmap}
169171
\input{libanydbm}

Doc/lib/libthread.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ \section{\module{thread} ---
1717

1818
The module is optional. It is supported on Windows, Linux, SGI
1919
IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread
20-
(a.k.a. ``pthread'') implementation.
20+
(a.k.a. ``pthread'') implementation. For systems lacking the \module{thread}
21+
module, the \refmodule{dummy_thread} module is available. It duplicates this
22+
module's interface and can be used as a drop-in replacement.
2123
\index{pthreads}
2224
\indexii{threads}{\POSIX}
2325

Doc/lib/libthreading.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ \section{\module{threading} ---
88
This module constructs higher-level threading interfaces on top of the
99
lower level \refmodule{thread} module.
1010

11+
The \refmodule{dummy_threading} module is provided for situations where
12+
\module{threading} cannot be used because \module{thread} is missing.
13+
1114
This module is safe for use with \samp{from threading import *}. It
1215
defines the following functions and objects:
1316

0 commit comments

Comments
 (0)