From b5398bd17fc8af5c9ac14507ed12a7f66df4d8a6 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 20 Mar 2018 09:06:19 +0545 Subject: [PATCH] issue #156: docs typo --- docs/howitworks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howitworks.rst b/docs/howitworks.rst index d9bccc88..ef6b35cf 100644 --- a/docs/howitworks.rst +++ b/docs/howitworks.rst @@ -883,7 +883,7 @@ written to the first socket in the list before finally releasing `lock`. Latch.close() ~~~~~~~~~~~ -:py:meth:`mitogen.core.Latch.putclose` acquires `lock`, sets `closed` to +:py:meth:`mitogen.core.Latch.close` acquires `lock`, sets `closed` to :py:data:`True`, then writes a byte to every socket in `wake_socks`. As above, on waking from sleep, after removing itself from `wake_socks`, each sleeping thread tests if `closed` is :py:data:`True`, and if so throws