-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pete a écrit : > On Monday April 2 2007 1:40 pm, xav4django wrote: >>> What thread problem does it correct ? >>> Can one use threads without PyLucene.PythonThread now ? >> Yes >> >> When I use django shell, with a >> from threading import Thread > > Don't. Do. That. > > http://wiki.osafoundation.org/PyLucene/ThreadingInPyLucene >
PyLucene.PythonThread crash with mod_python. Then I search another solution. Do you know why there is a crash ? >> Threads created in any other manner will cause crashes. With this patch : http://www.1et0.org/admin/db/pylucene/trypatch/patch.txt You can use lucene without crash when you attach the current thread with PyLucene.JvAttachCurrentThread2 but the patch not resolve mod_python crash. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGEYp54dg3EDuiPUcRApBOAJ9BeEW34Z2/UWUG0Th73iXfl1CExwCeI4GF eepX/M6Yvqa5YCo6k0vsjJ4= =wjkQ -----END PGP SIGNATURE----- _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
