Package web2py :: Package gluon :: Module rocket :: Class ThreadPool

[hide private]
[frames] | no frames]

# Class ThreadPool

source code
The ThreadPool class is a container class for all the worker threads. It manages the number of actively running threads.

Instance Methods | [hide private]

__init__(self, method, app_info, active_queue, monitor_queue, min_threads=10, max_threads=0) | source code

start(self) | source code

stop(self) | source code

bring_out_your_dead(self) | source code

grow(self, amount=global_settings.applications_parent) | source code

shrink(self, amount=global_settings.applications_parent) | source code

dynamic_resize(self) | source code