OpenStack library for all concurrency-related code
Go to file
Lucian Petrut 8adf9b1f0d Windows: ensure exec calls don't block other greenthreads
eventlet.green.subprocess is not actually greenthread friendly on
Windows. It just uses the native subprocess.Popen in this case.

For this reason, exec calls do not yield on Windows, blocking other
greenthreads.

This change avoids this issue by wrapping the 'communicate' call
using eventlet.tpool.

We're also ensuring that subprocess.Popen uses *native* threads
internally in order to avoid deadlocks when passing data through
stdin.

Change-Id: Ic25fd1b61b5498f16e6049cbbe0877492f8aab4d
Closes-Bug: #1709586
(cherry picked from commit 3ac3c169ad)
2017-08-18 11:33:12 +00:00
doc/source switch from oslosphinx to openstackdocstheme 2017-07-11 13:49:58 -04:00
oslo_concurrency Windows: ensure exec calls don't block other greenthreads 2017-08-18 11:33:12 +00:00
releasenotes Imported Translations from Zanata 2017-07-12 07:34:06 +00:00
tools Add Constraints support 2016-12-20 14:35:31 +11:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:01:16 -04:00
.gitignore Add reno for releasenotes management 2016-05-20 17:56:23 +03:00
.gitreview Update .gitreview for stable/pike 2017-07-28 21:04:33 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.testr.conf Move out of the oslo namespace package 2014-11-14 17:17:25 -05:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:38 +00:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 22:22:54 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
README.rst Update URLs in documents according to document migration 2017-07-12 22:22:54 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
requirements.txt Updated from global requirements 2017-07-11 02:39:14 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-12 22:22:54 +08:00
setup.py Updated from global requirements 2017-03-03 00:02:48 +00:00
test-requirements.txt Updated from global requirements 2017-08-11 19:03:49 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/pike 2017-07-28 21:04:34 +00:00

README.rst

Team and repository tags

image

oslo.concurrency

Latest Version

Downloads

The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes.