Package mapproxy :: Package core :: Module utils :: Class ThreadedExecutor
[hide private]
[frames] | no frames]

Class ThreadedExecutor

source code

object --+
         |
        ThreadedExecutor

Nested Classes [hide private]
  Executor
Instance Methods [hide private]
 
__init__(self, func, pool_size=2)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
execute(self, args) source code
 
_get_results(self, result) source code
 
__del__(self) source code
 
shutdown(self, force=False)
Send shutdown sentinel to all executor threads.
source code
 
_init_pool(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, func, pool_size=2)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

shutdown(self, force=False)

source code 
Send shutdown sentinel to all executor threads. If force is True, clean task_queue and result_queue.