blob: 86b67dc8bb327b8c11a11abea0e134fb89af98d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Copyright 2009 Brian Quinlan. All Rights Reserved. See LICENSE file.
"""Execute computations asynchronously using threads or processes."""
__author__ = 'Brian Quinlan (brian@sweetapp.com)'
from futures._base import (FIRST_COMPLETED, FIRST_EXCEPTION,
ALL_COMPLETED, RETURN_IMMEDIATELY,
CancelledError, TimeoutError,
Future, FutureList)
from futures.thread import ThreadPoolExecutor
from futures.process import ProcessPoolExecutor
|