OK,

I've found a document that explained me a lot a couple of years ago:
http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading
:)

I guess, as for my question, winnt-like MPM should be used.
That is, single child process with multiple threads accessing the
global object.

Hm, but perhaps this will lead to a common GIL within such a single
process. Right?
And still it is not clear how to pass this object to child's
threads...

I guess, it should be passed somehow via app instance:
app = django.core.handlers.wsgi.WSGIHandler()
app.my_process_wide_read_only_array = ...

But how to access then this app instance from within Django's views?..

Thanks,
regards
Valery

--

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