List Info

Thread: Re: patch JvAttachCurrentThread




Re: patch JvAttachCurrentThread
country flaguser name
France
2007-04-02 17:58:25
-----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/ThreadingInPyLu
cene
> 

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/UWUG0Th73iXfl1CExwCe
I4GF
eepX/M6Yvqa5YCo6k0vsjJ4=
=wjkQ
-----END PGP SIGNATURE-----
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )