On 27 August 2011 04:04, Chen Zheng <[email protected]> wrote:
> Hi,
>
> Due to some reason, I have to disable thread support in python

Can you explain what the technical reason is?

> and
> still thinking of using mod_wsgi. I just want to use the 'AddHandler
> wsgi-script .py' way,  like the cgi-script, only a little bit faster.
>
> No daemons in background, so one process per apache worker is enough,
> is thread really necessary in this situation?
>
> Will a dummy thread or a fake WITH_THREAD work? Thanks.

Although mod_wsgi supports threads and in daemon mode may even use
some of its own background threads to keep things running, you
yourself don't have to use a multithreaded configuration for handling
of requests.

It is a bit hard to answer your question without knowing the technical
reasons why you can't use an underlying Python implementation that
supports threading. Your comment about what you want in the way of
'one process per apache worker' suggests you don't actually know how
mod_wsgi works as it is.

So, can we start with the reason first and work from there to what
options you may have?

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to