[pylucene-dev] attachCurrentThread from a different thread?
Bill Janssen
janssen at parc.com
Wed Nov 14 12:28:29 PST 2007
> If you meant to ask if there was another API to attach _another_ thread
> to the VM from a given thread, the answer seems to be 'no'.
That's what I was asking. It means I have to subclass
threading.Thread and add a before-method for run() (to make sure all
my threads are Lucene-capable). If I could call it from a different
Python thread, I could call it from the thread which creates the new
thread, before I call start() on the new thread.
Bill
More information about the pylucene-dev
mailing list