[pylucene-dev] threads and twisted web

Andreas Kostyrka andreas at kostyrka.org
Fri Oct 28 13:04:03 PDT 2005


Haven't tried it, I basically decided on a completly single threaded
architecture (seperated by PB from the main app). I've been getting all
kind's of strange Lock errors :(

It should work if you do this before anything else. So that twisted
really, really get's the PyLucene.PythonThread when it tries to use
threading.Thread.

Andreas


Am Freitag, den 28.10.2005, 21:31 +0200 schrieb Catalin Constantin:
> does this work with deferToThread ?
> it seems the "request" is never .finish !
> 
> any clues!
> 
> Friday, October 28, 2005, 8:12:15 PM, Andreas Kostyrka wrote:
> > import threading, PyLucene
> > threading.Thread = PyLucene.PythonThread
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20051028/99922589/attachment.pgp


More information about the pylucene-dev mailing list