akrapus wrote: > Thanks for reply. > > So would it be implemented as follows: > > Func 1 > Func 2 > Func 3 > > Thread for Func 1 > Thread for Func 2 > Thread for Func 3
Could be, but the you woul most probably subclass threading.Thread and override the run-method. However, often it is done like this: def some_threaded_function(): while though_shalt_work(): do_work() for i in xrange(THRAD_NUM): t = threading.Thread(target=some_threaded_function) t.start() Diez -- http://mail.python.org/mailman/listinfo/python-list