[pylucene-dev] Re: PyLucene: problems with Document.fields()
and mod_python
David Fraser
davidf at sjsoft.com
Mon Mar 14 05:55:20 PST 2005
Andi Vajda wrote:
>
>> Hm ... didn't realise this. Are there any details on how the
>> deadlocks can occur and what Python 2.4 does differently?
>> e.g. would it only be in multiprocess situation?
>
>
> This bug is fixed in python 2.4:
> http://mail.python.org/pipermail/patches/2004-September/015924.html
Great, thanks for the reference...
> Even when not creating threads, with PyLucene there is always one
> extra thread, libgcj's garbage collector finalizer thread that may
> need to call into python to release a wrapped python object. It needs
> to acquire the GIL when it does that.
OK I see, thanks for the info
David
More information about the pylucene-dev
mailing list