[pylucene-dev] Threading issues... again
Andi Vajda
vajda at osafoundation.org
Wed Aug 31 09:18:14 PDT 2005
> Whatever you do with threads, make sure that Java's Thread class was used to
> create the thread first before usage. This means that you can only create
> more threads from either the main thread or from such Java threads.
>From PyLucene, Java's Thread class means PyLucene.PythonThread, a class that
extends python's threading.Thread class and wraps a Java Thread instance
delegating to it the crucial initialization and startup phase without which a
python thread cannot call into libgcj, the Java runtime.
Andi..
More information about the pylucene-dev
mailing list