This module provides parallelization utilities.
Returns the number of available processors on this machine.
If default is None and the number cannot be determined a NotImplementedError is raised.
Helper object for providing asynchronous results.
Parameters: |
|
---|
True if a result is available.
Blocks until the result is available or the given timeout has been reached.
Returns the result or raises the exception which has been set, if the result is not available this method is blocking.
If timeout is given this method raises a TimeoutError if the result is not available soon enough.