|
|
@ -925,9 +925,9 @@ item.
|
|
|
|
:py:meth:`mitogen.core.Latch.put`.
|
|
|
|
:py:meth:`mitogen.core.Latch.put`.
|
|
|
|
|
|
|
|
|
|
|
|
**4. Wake, Non-empty**
|
|
|
|
**4. Wake, Non-empty**
|
|
|
|
On wake it re-acquires `lock`, removes itself from `sleeping`, decrementing
|
|
|
|
On wake it re-acquires `lock`, removes itself from `sleeping`, throws
|
|
|
|
`waking`, throws :py:class:`mitogen.core.TimeoutError` if no byte was
|
|
|
|
:py:class:`mitogen.core.TimeoutError` if no byte was written, decrements
|
|
|
|
written, otherwise pops and returns the first item in `queue` that is
|
|
|
|
`waking`, then pops and returns the first item in `queue` that is
|
|
|
|
guaranteed to exist.
|
|
|
|
guaranteed to exist.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|