We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 546e21c + 2deee96 commit 20c32cbCopy full SHA for 20c32cb
networking_mlnx/cmd/eventlet/__init__.py
@@ -13,3 +13,9 @@
13
import eventlet
14
15
eventlet.monkey_patch()
16
+# Monkey patch the original current_thread to use the up-to-date _active
17
+# global variable. See https://bugs.launchpad.net/bugs/1863021 and
18
+# https://github.com/eventlet/eventlet/issues/592
19
+import __original_module_threading as orig_threading # pylint: disable=C0413 # noqa
20
+import threading # pylint: disable=C0413 # noqa
21
+orig_threading.current_thread.__globals__['_active'] = threading._active
0 commit comments