Does the WorkerThread class that extends PyLucene.PythonThread have an __init__() method ? If so, does it call super(WorkerThread, self).__init__(*args, **kwds) so that PyLucene.PythonThread's __init__ gets a chance to run ?


Andi..

On Thu, 10 Feb 2005, Yura Smolsky wrote:

Hello, Andi.

I have checked through threading.currentThread() that code executed
under thread inherited from PythonThread. What could be wrong in this
case?

AV> Yes, 'collecting from unknown thread' means that libgcj is running a thread
AV> that was not initialized by it.

AV> Andi..

AV> On Sat, 1 Jan 2005, Yura Smolsky wrote:

Hello, pylucene-dev.

As I said early I try to run IndexSearcher under omniORBpy (CORBA)
server, which creates new thread for any call of server's method by
remote client.
I have replaced in the source of omniORBpy
WorkerThread(threading.Thread) to
WorkerThread(PyLucene.PythonThread).

But when I try to call some methods of server remotely then I got java
message from Server which contains IndexSearcher:

Collecting from unknown thread.

It seems like message is about garbage collection.
Does it mean that server start non PythonThread thread?.. What issue
does this message point to?


Yura Smolsky



_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev




AV>



Yura Smolsky,




_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to