Hi Andi,
(resending this as my message was blocked by mailman)
thanks for your kind and detailed response :-)
Andi Vajda schrieb:
On Sat, 23 Aug 2008, Felix Schwarz wrote:
The main thread is the thread which creates the other threads, right?
The main thread is the thread where your program starts. It's the first
thread, the thread that creates the second thread, the thread that runs
your program's C entrypoint, main(). But any thread can create more
threads not just the main thread.
Ok, my wording was a bit too sloppy but actually we share the same
understanding what is the main thread so that's ok in my case.
And after initVM is called, lucene.getVMEnv() always returns a valid
environment (for all threads), right?
There are two environments at work here. (...)
That was an interesting read. I will try your debug hints and come back with
the results later tomorrow (will stop working for today now, its about 7pm
here).
Maybe I can isolate the bug a bit further (even if it turns out to be my fault).
fs
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev