From d51e70636d39f871d91829d10cfc6a7a1478de69 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 18 Feb 2019 18:33:50 +0000 Subject: [PATCH] os_fork: more doc tweaks --- mitogen/os_fork.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mitogen/os_fork.py b/mitogen/os_fork.py index e318e79d..b27cfd5c 100644 --- a/mitogen/os_fork.py +++ b/mitogen/os_fork.py @@ -94,9 +94,9 @@ class Corker(object): where it will block until the socket buffer is drained, or the write side is closed. - We can ensure the thread really has blocked outside of any Python locks by - checking if the socket buffer has started to fill using a - :class:`mitogen.core.Poller`. + :class:`mitogen.core.Poller` is used to ensure the thread really has + blocked outside any Python locks, by checking if the socket buffer has + started to fill. Since this necessarily involves posting a message to every existent thread and verifying acknowledgement, it will never be a fast operation.