deepcopy of class inherited from Thread
gagsl-py2 at yahoo.com.ar
Tue Oct 13 05:50:12 CEST 2009
En Mon, 12 Oct 2009 14:52:42 -0300, VYAS ASHISH M-NTB837
<ashish.vyas at motorola.com> escribió:
> The function that I want to run is part of a class, not a standalone
> function. There are several class member variables also.
What about modifying the run() method so it runs more than once? Perhaps
using a Queue object to pass additional info for each run.
Creating OS threads is somewhat expensive so usually is more efficient to
create them once and keep feeding them with work to be done.
More information about the Python-list