summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/concurrent/futures/__init__.py
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2012-02-03 08:12:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-10 17:00:54 +0000
commit754847f34b1f2cfc9683b143ca9e9e6ef054037f (patch)
treef6e90272119aec4a9dc5df4f555cab7a78206387 /bitbake/lib/concurrent/futures/__init__.py
parentd366c1890ee706870bbf6fec714fba9022a54329 (diff)
downloadpoky-754847f34b1f2cfc9683b143ca9e9e6ef054037f.tar.gz
Revert the switch to futures for now
Without it, we get random hangs on parse failure. With it, some folks have seen hangs even on successful cases. The former is clearly less problematic. This is temporary, until I can finish investigating the root causes of both issues. (Bitbake rev: db689a99beffea1a285cdfc74a58fe73f1666987) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/concurrent/futures/__init__.py')
-rw-r--r--bitbake/lib/concurrent/futures/__init__.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/bitbake/lib/concurrent/futures/__init__.py b/bitbake/lib/concurrent/futures/__init__.py
deleted file mode 100644
index b5231f8aab..0000000000
--- a/bitbake/lib/concurrent/futures/__init__.py
+++ /dev/null
@@ -1,18 +0,0 @@
1# Copyright 2009 Brian Quinlan. All Rights Reserved.
2# Licensed to PSF under a Contributor Agreement.
3
4"""Execute computations asynchronously using threads or processes."""
5
6__author__ = 'Brian Quinlan (brian@sweetapp.com)'
7
8from concurrent.futures._base import (FIRST_COMPLETED,
9 FIRST_EXCEPTION,
10 ALL_COMPLETED,
11 CancelledError,
12 TimeoutError,
13 Future,
14 Executor,
15 wait,
16 as_completed)
17from concurrent.futures.process import ProcessPoolExecutor
18from concurrent.futures.thread import ThreadPoolExecutor