mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix-up docs for socketserver and queue renaming.
This commit is contained in:
parent
bb141bb1f4
commit
7a148c2357
6 changed files with 20 additions and 18 deletions
|
|
@ -198,7 +198,7 @@ variables, and semaphores.
|
|||
While those tools are powerful, minor design errors can result in problems that
|
||||
are difficult to reproduce. So, the preferred approach to task coordination is
|
||||
to concentrate all access to a resource in a single thread and then use the
|
||||
:mod:`Queue` module to feed that thread with requests from other threads.
|
||||
:mod:`queue` module to feed that thread with requests from other threads.
|
||||
Applications using :class:`Queue` objects for inter-thread communication and
|
||||
coordination are easier to design, more readable, and more reliable.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue