Eventlet utils helper module.
New in version 1.3.
oslo_utils.eventletutils.fetch_current_thread_functor()¶Get the current thread.
If eventlet is used to monkey-patch the threading module, return the current eventlet greenthread. Otherwise, return the current Python thread.
New in version 1.5.
oslo_utils.eventletutils.is_monkey_patched(module)¶Determines safely is eventlet patching for module enabled or not :param module: String, module name :return Bool, True if module is patched, False otherwise
oslo_utils.eventletutils.warn_eventlet_not_patched(expected_patched_modules=None, what='this library')¶Warns if eventlet is being used without patching provided modules.
| Parameters: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.