"Power Button" <mjbuc...@gmail.com> > My question is, how can I create the Queue in my main object and set > the target function for the Thread Constructor to be a function in > foo?
Just create it, giving it some name. Then start the static long running stuff, and pass the name you gave it. Pass the name to the thing that starts the per transaction thread, so that it can pass it to the new thread, and away you go. You may even need an output queue, so that the static long running stuff knows what to do with the results, and a thread to handle the final output. - Hendrik -- http://mail.python.org/mailman/listinfo/python-list