[pylucene-dev] status of pylucene & mod_python

Andi Vajda vajda at osafoundation.org
Sun Mar 25 16:37:56 PST 2007


On Sun, 25 Mar 2007, Ofer Nave wrote:

> I'm guessing the PyLucene code starts up and tries to create threads,

Nowhere in the Lucene core code is there a "new Thread(" statement.
PyLucene doesn't start any threads either.

All threads are started by your code or the environment your run it under. A 
web framework is likely to start a pool of threads before PyLucene is even 
imported. You might need to customize that thread pooling code to ensure the 
proper threading class, PyLucene.PythonThread is used.

Andi..


More information about the pylucene-dev mailing list