[pylucene-dev] Re: PyLucene: problems with Document.fields()
and mod_python
Andi Vajda
vajda at osafoundation.org
Fri Mar 4 10:49:10 PST 2005
> 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
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.
Andi..
More information about the pylucene-dev
mailing list