mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648)
This commit is contained in:
parent
a8e7d903d7
commit
b43c4caf81
9 changed files with 575 additions and 31 deletions
|
@ -23,14 +23,10 @@ threading API built on top of this module.
|
|||
single: pthreads
|
||||
pair: threads; POSIX
|
||||
|
||||
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 (a.k.a. "pthread")
|
||||
implementation. For systems lacking the :mod:`_thread` module, the
|
||||
:mod:`_dummy_thread` module is available. It duplicates this module's interface
|
||||
and can be used as a drop-in replacement.
|
||||
|
||||
It defines the following constants and functions:
|
||||
.. versionchanged:: 3.7
|
||||
This module used to be optional, it is now always available.
|
||||
|
||||
This module defines the following constants and functions:
|
||||
|
||||
.. exception:: error
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue