mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
Typo: "dead lock" --> "deadlock"
This commit is contained in:
parent
9e43730ca3
commit
08d10f985e
2 changed files with 2 additions and 2 deletions
|
@ -344,7 +344,7 @@ streams and also retrieve the return codes is to use the
|
||||||
\class{Popen3} and \class{Popen4} classes from the \refmodule{popen2}
|
\class{Popen3} and \class{Popen4} classes from the \refmodule{popen2}
|
||||||
module; these are only available on \UNIX.
|
module; these are only available on \UNIX.
|
||||||
|
|
||||||
For a discussion of possible dead lock conditions related to the use
|
For a discussion of possible deadlock conditions related to the use
|
||||||
of these functions, see ``\ulink{Flow Control
|
of these functions, see ``\ulink{Flow Control
|
||||||
Issues}{popen2-flow-control.html}''
|
Issues}{popen2-flow-control.html}''
|
||||||
(section~\ref{popen2-flow-control}).
|
(section~\ref{popen2-flow-control}).
|
||||||
|
|
|
@ -129,7 +129,7 @@ module equivalents).
|
||||||
|
|
||||||
When reading output from a child process that writes a lot of data to
|
When reading output from a child process that writes a lot of data to
|
||||||
standard error while the parent is reading from the child's standard
|
standard error while the parent is reading from the child's standard
|
||||||
out, a dead lock can occur. A similar situation can occur with other
|
out, a deadlock can occur. A similar situation can occur with other
|
||||||
combinations of reads and writes. The essential factors are that more
|
combinations of reads and writes. The essential factors are that more
|
||||||
than \constant{_PC_PIPE_BUF} bytes are being written by one process in
|
than \constant{_PC_PIPE_BUF} bytes are being written by one process in
|
||||||
a blocking fashion, while the other process is reading from the other
|
a blocking fashion, while the other process is reading from the other
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue