En Mon, 12 Oct 2009 14:52:42 -0300, VYAS ASHISH M-NTB837 <ashish.v...@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.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to