[mod_python] mod_python and threads

olivier chaussavoine olivier.chaussavoine at online.fr
Thu May 5 04:55:41 EDT 2005


Hi,
 With apache2 and mod_python 3.1.3, I would like to be shure that a job
is made by a single process, that reads input, access to a database
(MySQL), and write on it. Have you any ideas?
One would be the following:
A thread is created by mod_python. the standard input of this thread is
a pipe (declared as global). The thread waits for input and do the job.
Each mod_python process write to this pipe.
Have you any experience on this kind of thing?

Thank you for your amswer


More information about the Mod_python mailing list